Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tuto-s4u: prefer R to Vite, and explain beforehand that C++
[simgrid.git] / .gitlab-ci.yml
index 3ef1530..c58e2d6 100644 (file)
@@ -1,9 +1,9 @@
-image: debian:testing-slim
+image: debian:testing
 
-.build: &build
+pages:
   script:
-  - apt-get update
-  - apt-get install -y python3-pip doxygen libboost-all-dev libboost-dev fig2dev
+  - apt update
+  - apt install -y libboost-all-dev libboost-dev python3-pip doxygen fig2dev
   - pip3 install --requirement docs/requirements.txt 
   - cd docs
   - sphinx-build -M html source/ build/
@@ -11,13 +11,12 @@ image: debian:testing-slim
   artifacts:
     paths:
     - public
-
-pages:
-  <<: *build
   only:
   - master
 
-test:
-  <<: *build
-  except:
-  - master
+tests:
+  script:
+  - apt update
+  - apt install -y libboost-all-dev libboost-dev cmake chrpath default-jdk valgrind gfortran build-essential libunwind-dev libdw-dev libelf-dev libevent-dev
+  - cmake -Denable_model-checking=ON -Denable_documentation=OFF -Denable_coverage=ON -Denable_java=ON -Denable_lua=OFF -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_compile_warnings=ON .
+  - make VERBOSE=1 && ctest --output-on-failure