Tag images on the branch as release-2021
[alexxy/gromacs.git] / admin / gitlab-ci / gromacs.matrix / gromacs.gcc-9-release.gitlab-ci.yml
1 # Test goal: Release build with GCC and OpenCL
2 # Test intents (should change rarely and conservatively):
3 #   OS: Ubuntu oldest supported
4 #   Compiler: GCC
5 #   GPU: OpenCL
6 #   HW: AMD GPU
7 #   Scope: configure, build, unit tests, regression tests
8 # Test implementation choices (free to change as needed):
9 #   OS: Ubuntu 18.04
10 #   Build type: RelWithAssert
11 #   Compiler: GCC 9
12 #   MPI: thread_MPI
13 #   SIMD: AVX2_256
14 #   FFT: FFTW3
15 #   Parallelism nt/ntomp: 4/2
16
17 gromacs:gcc-9:release:configure:
18   extends:
19     - .gromacs:base:release:configure
20     - .use-gcc:base
21     - .use-opencl
22     - .rules:nightly-only-for-release
23   image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-18.04-gcc-9:release-2021
24   variables:
25     CMAKE: /usr/local/cmake-3.13.0/bin/cmake
26     COMPILER_MAJOR_VERSION: 9
27     RELEASE_BUILD_DIR: release-builds-gcc
28     CMAKE_BUILD_TYPE_OPTIONS: "-DCMAKE_BUILD_TYPE=RelWithAssert"
29   dependencies:
30     - archive:package
31     - regressiontests:package
32     - prepare-release-version
33
34 gromacs:gcc-9:release:build:
35   # Test using configuration: gromacs:gcc-9:release:configure
36   # Test scope: build
37   extends:
38     - .variables:default
39     - .gromacs:base:build
40     - .before_script:default
41     - .use-ccache
42     - .rules:nightly-only-for-release
43   stage: release-build
44   variables:
45     CMAKE: /usr/local/cmake-3.13.0/bin/cmake
46     BUILD_DIR: release-builds-gcc
47   image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-18.04-gcc-9:release-2021
48   needs:
49     - job: gromacs:gcc-9:release:configure
50
51 gromacs:gcc-9:release:test:
52   extends:
53     - .gromacs:base:test
54     - .rules:nightly-only-for-release
55   stage: release-tests
56   image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-18.04-gcc-9:release-2021
57   variables:
58     CMAKE: /usr/local/cmake-3.13.0/bin/cmake
59     BUILD_DIR: release-builds-gcc
60     KUBERNETES_EXTENDED_RESOURCE_NAME: "amd.com/gpu"
61     KUBERNETES_EXTENDED_RESOURCE_LIMIT: 1
62     LD_LIBRARY_PATH: "/opt/rocm-3.5.0/opencl/lib"
63   tags:
64     - k8s-scilifelab
65   needs:
66     - job: gromacs:gcc-9:release:configure
67     - job: gromacs:gcc-9:release:build
68
69 gromacs:gcc-9:release:regressiontest:
70   extends:
71     - .gromacs:base:regressiontest
72     - .rules:nightly-only-for-release
73   stage: release-tests
74   image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-18.04-gcc-9:release-2021
75   variables:
76     CMAKE: /usr/local/cmake-3.13.0/bin/cmake
77     BUILD_DIR: release-builds-gcc
78     KUBERNETES_EXTENDED_RESOURCE_NAME: "amd.com/gpu"
79     KUBERNETES_EXTENDED_RESOURCE_LIMIT: 1
80     LD_LIBRARY_PATH: "/opt/rocm-3.5.0/opencl/lib"
81   tags:
82     - k8s-scilifelab
83   needs:
84     - job: gromacs:gcc-9:release:build
85     - job: regressiontests:package
86