1--- 2include: 3 - project: 'core/ci-config' 4 ref: master 5 file: 'config/common/master.yml' 6 - project: 'core/ci-config' 7 ref: master 8 file: 'jobs/common/master.yml' 9 10before_script: 11 - . /duneci/bin/duneci-init-job 12 - duneci-install-module https://gitlab.dune-project.org/core/dune-common.git 13 - duneci-install-module https://gitlab.dune-project.org/core/dune-geometry.git 14 15debian-11-gcc-9-17-python: 16 image: registry.dune-project.org/docker/ci/debian:11 17 script: duneci-standard-test 18 variables: 19 DUNECI_TOOLCHAIN: gcc-9-17 20 # so we need some variables to build the dune-py module during execution of the first python test: 21 # we need to find the dune mdoule 22 DUNE_CONTROL_PATH: /duneci/modules:$CI_PROJECT_DIR 23 # the position for the dune-py module 24 DUNE_PY_DIR: /duneci/modules/dune-py 25 # during dune-py build this variable is used - do know a way to access 26 # the CMAKE_FLAGS used to build the modules... 27 DUNE_CMAKE_FLAGS: "-DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_FLAGS='-std=c++17 -O2 -g -Wall -fdiagnostics-color=always' -DDUNE_ENABLE_PYTHONBINDINGS=ON -DDUNE_MAX_TEST_CORES=4 -DBUILD_SHARED_LIBS=TRUE -DDUNE_PYTHON_INSTALL_LOCATION=none -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_Alberta=TRUE -DCMAKE_DISABLE_FIND_PACKAGE_Vc=TRUE -DCMAKE_DISABLE_DOCUMENTATION=TRUE" 28 # cmake flags we use for all dune moudle - important is that build shared libs is set (need some better way of doing this) 29 DUNECI_CMAKE_FLAGS: $DUNE_CMAKE_FLAGS 30 # finally set the python path to all modules 31 PYTHONPATH: /duneci/modules/dune-common/build-cmake/python:/duneci/modules/dune-geometry/build-cmake/python:$CI_PROJECT_DIR/build-cmake/python 32 tags: [duneci] 33