Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Gitlab CI: Use clang on modelchecker builds, for MRs
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 31 Mar 2023 13:58:32 +0000 (15:58 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 31 Mar 2023 13:58:32 +0000 (15:58 +0200)
.gitlab-ci.yml

index 53a6261..de0ac25 100644 (file)
@@ -30,8 +30,8 @@ ctest-modelchecking:
   - stable
   script:
   - apt-get --allow-releaseinfo-change update
-  - apt install -y binutils xsltproc
-  - cmake -Denable_model-checking=ON -Denable_documentation=OFF -Denable_coverage=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON -DLTO_EXTRA_FLAG="auto" .
+  - apt install -y binutils xsltproc clang
+  - cmake -Denable_model-checking=ON -Denable_documentation=OFF -Denable_coverage=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=OFF -Denable_compile_warnings=ON -DLTO_EXTRA_FLAG="auto" -DCC=/usr/bin/clang -DCXX=/usr/bin/clang++ .
   - make -j$(nproc) VERBOSE=1 all tests
   - ctest -T Test -j$(nproc) --output-on-failure
   - xsltproc ./tools/jenkins/ctest2junit.xsl Testing/"$( head -n 1 < Testing/TAG )"/Test.xml > CTestResults.xml