- .gromacs:base:configure
- .before_script:default
# TODO (#3480) this should be organized more like the current documentation.py script
- image: gromacs/ci-ubuntu-18.04-llvm-7-docs
+ image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-7-docs
stage: configure-build
cache: {}
variables:
mkdir $BUILD_DIR ;
fi
- cd $BUILD_DIR
+ # Running CMake with the venv activated should not be strictly necessary,
+ # but helps to find and cache self-consistent Python and Sphinx details
+ # without additional hinting. Once CMakeCache.txt exists, the later stages
+ # should work fine without reactivating the venv.
+ - source /root/venv/py3.7/bin/activate
- cmake ..
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
$CMAKE_COMPILER_SCRIPT
- .before_script:default
- .rules:nightly-only-for-release
# TODO (#3480) this should be organized more like the current documentation.py script
- image: gromacs/ci-ubuntu-18.04-llvm-7-docs
+ image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-7-docs
stage: release-configure
cache: {}
variables:
mkdir $RELEASE_BUILD_DIR ;
fi
- cd $RELEASE_BUILD_DIR
+ - source /root/venv/py3.7/bin/activate
- cmake ../$RELEASE_SOURCE/
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
$CMAKE_COMPILER_SCRIPT
.docs:build:
# TODO (#3480) this should be organized more like the current documentation.py script
- image: gromacs/ci-ubuntu-18.04-llvm-7-docs
+ image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-7-docs
script:
- cd $BUILD_DIR
- cmake --build . --target gmx -- -j8
- .gromacs:base:build
- .before_script:default
# TODO (#3480) this should be organized more like the current documentation.py script
- image: gromacs/ci-ubuntu-18.04-llvm-7-docs
+ image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-20.04-llvm-7-docs
cache: {}
variables:
KUBERNETES_CPU_LIMIT: 4