From 2cdd1d35be2d7d4f46b3392056821cc64ae013cd Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 21 Aug 2018 11:58:53 +0200 Subject: [PATCH] Try to add a working 'test' job to gitlab-ci --- .gitlab-ci.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ef1530238..4e6e0fcf29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,9 @@ image: debian:testing-slim -.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 + - 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 -- 2.20.1