Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e949e9a3 authored by hhakim's avatar hhakim
Browse files

Get back ctest* ci jobs to failure of pipeline in case of configure/build error.

parent 3acc7099
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ ctest:
coverage: '/Coverage: \d+\.\d+\%/'
script:
- if echo $CI_RUNNER_TAGS | grep -w cuda; then export USE_GPU_MOD=ON; ./misc/continuous_integration/jobs/linux/build_gpu_mod.sh 11.6; export LD_LIBRARY_PATH=$PWD/gpu_mod/build-cu11.6; export CUDA_VERSIONS=cu11.6;fi # enable GPU tests if the runner is capable of
- ctest -O ctest.log -S ./CDashConfScript.cmake -j4 --output-junit junit_output.xml || echo "forcing job to continue"
- ctest -O ctest.log -S ./CDashConfScript.cmake -j4 --output-junit junit_output.xml # || echo "forcing job to continue"
- if [[ ! -r build_FaustLinux/junit_output.xml ]]; then exit 1; fi
- misc/continuous_integration/jobs/gcovr_report.sh
- misc/continuous_integration/jobs/junit_html_report.sh cpp_test_report
......@@ -76,7 +76,7 @@ ctest_python:
- export LD_PRELOAD=/usr/lib64/libomp.so
variables: {BUILD_WRAPPER_PYTHON: "ON", SLOW_TESTS: "OFF", DONT_PYPLOT_FAUST_TIME: "ON", NOCPPTESTS: "ON", NOPY2: "ON", BUILD_MULTITHREAD: "ON", BUILD_FLOAT_PYX: "ON", NJOBS: 4} #, GIT_STRATEGY: none}
script:
- ctest -O ctest.log -S ./CDashConfScript.cmake -j4 --output-junit junit_output.xml || echo "forcing job to continue"
- ctest -O ctest.log -S ./CDashConfScript.cmake -j4 --output-junit junit_output.xml #|| echo "forcing job to continue"
- if [[ ! -r build_FaustLinuxPython/junit_output.xml ]]; then exit 1;fi
- misc/continuous_integration/jobs/junit_html_report.sh python_pyfaust_test_output
# fail the ci job if any ctest test (or unit test) have failed
......@@ -101,7 +101,7 @@ ctest_matlab:
# about NJOBS: more than 1 parallel job for building mex is too heavy for the linux VMs
script:
# TODO: refactor with ctest_python script
- ctest -O ctest.log -S ./CDashConfScript.cmake -j4 --output-junit junit_output.xml || echo "forcing job to continue"
- ctest -O ctest.log -S ./CDashConfScript.cmake -j4 --output-junit junit_output.xml #|| echo "forcing job to continue"
- export BUILD_DIR=$(ls -d build_* | tail -1)
- if [[ ! -r ${BUILD_DIR}/junit_output.xml ]]; then exit 1;fi
- misc/continuous_integration/jobs/junit_html_report.sh matlab_matfaust_test_output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment