X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/37c17634ea54f0a0f3fd1d09ee6e620f3d13747e..f7dab9588dcb960ed22eb63cbf70916b74340ccb:/.gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0085c43ae7..c58e2d6838 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,28 +1,22 @@ -image: debian:testing-slim +image: debian:testing -.build: &build +pages: script: - - apt-get update - - apt-get install -y python3-sphinx doxygen python3-breathe python3-sphinx-rtd-theme pip3 - - apt-get install -y cmake doxygen libboost-all-dev libboost-dev - - pip3 install --no-deps exhale - - cmake -Denable_documentation=ON . - - make documentation - - mkdir docs/doxyoutput - - mv doc/xml docs/doxyoutput + - 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/ - mv build/html ../public 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