3 KUBERNETES_CPU_LIMIT: 8
4 KUBERNETES_CPU_REQUEST: 4
5 KUBERNETES_MEMORY_LIMIT: 8Gi
6 KUBERNETES_EXTENDED_RESOURCE_NAME: ""
7 KUBERNETES_EXTENDED_RESOURCE_LIMIT: 0
8 CACHE_FALLBACK_KEY: "$CI_JOB_NAME-$CI_JOB_STAGE-master"
12 .build-cache-template:
14 key: "$CI_JOB_NAME-$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
20 key: "$CI_JOB_NAME-$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
21 # Read but don't update the cache
28 .gmxapi-extra-installs:
30 EXTRA_INSTALLS: python3-dev python3-networkx python3-setuptools python3-mpi4py python3-numpy python3-pip python3-pytest
32 .configure-gmxapi-template:
34 - .gmxapi-extra-installs
36 CMAKE_GMXAPI_OPTIONS: "-DGMX_PYTHON_PACKAGE=ON"
42 CMAKE_PRECISION_OPTIONS: "-DGMX_DOUBLE=OFF"
45 CMAKE_EXTRA_OPTIONS: -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda/
46 CMAKE_GPU_OPTIONS: -DGMX_GPU=ON
49 image: gromacs/ci-gcc-5:master
51 .gcc5-gmxapi-template:
52 image: gromacs/ci-gcc-5-gmxapi:master
55 image: gromacs/ci-gcc-6:master
57 .gcc6-gmxapi-template:
58 image: gromacs/ci-gcc-6-gmxapi:master
61 image: gromacs/ci-gcc-7:master
63 .gcc7-gmxapi-template:
64 image: gromacs/ci-gcc-7-gmxapi:master
67 image: gromacs/ci-gcc-8:master
69 .gcc-8-cuda-10.2-template:
70 image: gromacs/ci-gcc-8-cuda-10.2:master
72 CUDA_BASE_VERSION: "10.2"
73 COMPILER_MAJOR_VERSION: 8
75 .gcc8-gmxapi-template:
76 image: gromacs/ci-gcc-8-gmxapi:master
78 .gcc-before-script-template:
80 COMPILER_MAJOR_VERSION: 7
84 - echo $EXTRA_INSTALLS
85 - time apt-get -qq update
86 - time apt-get -qqy --no-install-suggests --no-install-recommends install
89 - export CCACHE_BASEDIR=${PWD}
90 - export CCACHE_DIR=${PWD}/ccache
94 COMPILER_MAJOR_VERSION: 7
96 CMAKE_COMPILER_SCRIPT: -DCMAKE_C_COMPILER=gcc-$COMPILER_MAJOR_VERSION -DCMAKE_CXX_COMPILER=g++-$COMPILER_MAJOR_VERSION
99 image: gromacs/ci-clang-6:master
101 .clang6-gmxapi-template:
102 image: gromacs/ci-clang-6-gmxapi:master
105 image: gromacs/ci-clang-7:master
107 .clang7-gmxapi-template:
108 image: gromacs/ci-clang-7-gmxapi:master
111 image: gromacs/ci-clang-8:master
113 .clang8-gmxapi-template:
114 image: gromacs/ci-clang-8-gmxapi:master
116 .clang-before-script-template:
118 COMPILER_MAJOR_VERSION: 7
122 - echo $EXTRA_INSTALLS
123 - time apt-get -qq update
124 - time apt-get -qqy --no-install-suggests --no-install-recommends install
127 - export CCACHE_BASEDIR=${PWD}
128 - export CCACHE_DIR=${PWD}/ccache
130 .build-clang-template:
132 DEBIAN_FRONTEND: noninteractive
133 COMPILER_MAJOR_VERSION: 7
134 BUILD_DIR: build-clang
135 CMAKE_COMPILER_SCRIPT: -DCMAKE_C_COMPILER=clang-$COMPILER_MAJOR_VERSION -DCMAKE_CXX_COMPILER=clang++-$COMPILER_MAJOR_VERSION