Use test conversion script from source
[gromacs.git] / admin / gitlab-ci / sample_restraint-regression.gitlab-ci.yml
blob2b6885eb4de450e7d2fd72a7182cb35278d82e27
1 # Test for API regression or unexpected breakage.
3 # Base job definition for sample_restraint tests against GROMACS 2020.
4 .sample_restraint:clang-8:gmx2020:
5   extends:
6     - .variables:default
7     - .use-clang:base
8   image: gromacs/cmake-3.15.7-llvm-8-intelopencl-openmpi:2020
9   stage: test
10   variables:
11     PLUGIN_TEST_XML: $CI_PROJECT_DIR/py-JUnitTestResults.xml
12     PLUGIN_MPI_TEST_XML: $CI_PROJECT_DIR/py-mpi-JUnitTestResults.xml
13     EXTRA_INSTALLS: "curl libbz2-dev libffi-dev liblzma-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev llvm python-openssl tk-dev zlib1g-dev"
14   script:
15     - source $INSTALL_DIR/bin/GMXRC
16     - source $VENVPATH/bin/activate && INSTALL_DIR=$PWD/$INSTALL_DIR bash -x admin/ci-scripts/build-and-test-sample_restraint-2020.sh
17   artifacts:
18     reports:
19       junit:
20         - $PLUGIN_TEST_XML
21         - $PLUGIN_MPI_TEST_XML
22     when: always
23     expire_in: 1 week
24   needs:
25     # Note: if we want to run regression tests using artifacts from the `release-2020`
26     # pipelines, we could specify *project* and *ref*, but initially we are only
27     # testing within a single repository.
28     - job: gromacs:clang-8:build
29       artifacts: true
31 sample_restraint:clang-8:gmx2020:py-3.6.10:
32   extends:
33     - .sample_restraint:clang-8:gmx2020
34     - .rules:merge-requests
35   variables:
36     VENVPATH: "/root/venv/py3.6"
37     PY_VER: "3.6.10"
39 sample_restraint:clang-8:gmx2020:py-3.7.7:
40   extends:
41     - .sample_restraint:clang-8:gmx2020
42     - .rules:merge-requests
43   variables:
44     VENVPATH: "/root/venv/py3.7"
45     PY_VER: "3.7.7"
47 sample_restraint:clang-8:gmx2020:py-3.8.2:
48   extends:
49     - .sample_restraint:clang-8:gmx2020
50     - .rules:merge-requests
51   variables:
52     VENVPATH: "/root/venv/py3.8"
53     PY_VER: "3.8.2"