1 # Base job definition for sample_restraint tests against GROMACS 2021.
2 .sample_restraint:gcc-7:gmx2021:
6 image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-18.04-gcc-7
9 KUBERNETES_CPU_LIMIT: 2
10 KUBERNETES_CPU_REQUEST: 2
11 KUBERNETES_MEMORY_LIMIT: 2Gi
12 KUBERNETES_MEMORY_REQUEST: 2Gi
13 PLUGIN_TEST_XML: $CI_PROJECT_DIR/py-JUnitTestResults.xml
14 PLUGIN_MPI_TEST_XML: $CI_PROJECT_DIR/py-mpi-JUnitTestResults.xml
15 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"
17 - source $INSTALL_DIR/bin/GMXRC
18 - source $VENVPATH/bin/activate && INSTALL_DIR=$PWD/$INSTALL_DIR OMP_NUM_THREADS=1 bash admin/ci-scripts/build-and-test-sample_restraint-2021.sh
23 - $PLUGIN_MPI_TEST_XML
28 # The dependency means we need to use the same tag restriction as upstream.
30 - job: gromacs:gcc-7:build
33 sample_restraint:gcc-7:gmx2021:py-3.6.10:
35 - .sample_restraint:gcc-7:gmx2021
36 - .rules:merge-requests:master
38 VENVPATH: "/root/venv/py3.6"
41 sample_restraint:gcc-7:gmx2021:py-3.7.7:
43 - .sample_restraint:gcc-7:gmx2021
44 - .rules:merge-requests:master
46 VENVPATH: "/root/venv/py3.7"
49 sample_restraint:gcc-7:gmx2021:py-3.8.2:
51 - .sample_restraint:gcc-7:gmx2021
52 - .rules:merge-requests:master
54 VENVPATH: "/root/venv/py3.8"