# gitlab-ci file for fpm default: image: rboman/waves-py3:2020.3 before_script: - source /opt/intel/mkl/bin/mklvars.sh intel64 - source /opt/intel/tbb/bin/tbbvars.sh intel64 stages: - build - test build: image: rboman/waves-py3:2020.3 stage: build script: - printenv | sort - cd .. - rm -rf waves - wget -q https://gitlab.uliege.be/am-dept/waves/-/archive/feature_fpm/waves-feature_fpm.tar.bz2 - tar xf waves-feature_fpm.tar.bz2 - rm waves-feature_fpm.tar.bz2 - mv waves-feature_fpm waves - cd waves - mkdir build - cd build - cmake -Wno-dev -C ../CMake/disable-trilinos.cmake .. - make -j $(nproc) - cd ../../fpm - rm -rf build workspace - mkdir build - cd build - cmake -DCMAKE_PREFIX_PATH=${CI_PROJECT_DIR}/../waves -Wno-dev .. - make -j $(nproc) artifacts: paths: - build/ expire_in: 1 hour doxygen: stage: test script: - cd build - make dox artifacts: paths: - build/doxygen/ expire_in: 1 day dependencies: - build ctest: image: rboman/waves-py3:2020.3 stage: test script: - cd build - ctest -j $(nproc) --output-on-failure #--verbose #timeout: 10 hours # will be available in 12.3 dependencies: - build