Use test conversion script from source
[gromacs.git] / admin / gitlab-ci / sample_restraint.gitlab-ci.yml
blobf4909bc61df8a31001c15a895d076f94f72a6894
1 # Base job definition for sample_restraint tests against GROMACS 2021.
2 .sample_restraint:clang-8:gmx2021:
3   extends:
4     - .variables:default
5     - .use-clang:base
6   image: gromacs/cmake-3.15.7-llvm-8-intelopencl-openmpi:2020
7   stage: test
8   variables:
9     PLUGIN_TEST_XML: $CI_PROJECT_DIR/py-JUnitTestResults.xml
10     PLUGIN_MPI_TEST_XML: $CI_PROJECT_DIR/py-mpi-JUnitTestResults.xml
11     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"
12   script:
13     - source $INSTALL_DIR/bin/GMXRC
14     - source $VENVPATH/bin/activate && INSTALL_DIR=$PWD/$INSTALL_DIR bash -x admin/ci-scripts/build-and-test-sample_restraint-2020.sh
15   artifacts:
16     reports:
17       junit:
18         - $PLUGIN_TEST_XML
19         - $PLUGIN_MPI_TEST_XML
20     when: always
21     expire_in: 1 week
22   needs:
23     - job: gromacs:clang-8:build
24       artifacts: true
26 sample_restraint:clang-8:gmx2021:py-3.6.10:
27   extends:
28     - .sample_restraint:clang-8:gmx2021
29     - .rules:merge-requests
30   variables:
31     VENVPATH: "/root/venv/py3.6"
32     PY_VER: "3.6.10"
34 sample_restraint:clang-8:gmx2021:py-3.7.7:
35   extends:
36     - .sample_restraint:clang-8:gmx2021
37     - .rules:merge-requests
38   variables:
39     VENVPATH: "/root/venv/py3.7"
40     PY_VER: "3.7.7"
42 sample_restraint:clang-8:gmx2021:py-3.8.2:
43   extends:
44     - .sample_restraint:clang-8:gmx2021
45     - .rules:merge-requests
46   variables:
47     VENVPATH: "/root/venv/py3.8"
48     PY_VER: "3.8.2"