Disable test step for the time being

This commit is contained in:
Matthias Krack 2025-02-10 14:12:37 +01:00
parent 6f65527a4f
commit 732b5832d5
3 changed files with 27 additions and 13 deletions

View file

@ -4,7 +4,7 @@ include:
stages:
- build_deps
- build_cp2k
- test_cp2k
# - test_cp2k
variables:
PERSIST_IMAGE_NAME: $CSCS_REGISTRY_PATH/cp2k:$CI_COMMIT_SHORT_SHA
@ -23,14 +23,14 @@ build_cp2k_job:
variables:
DOCKERFILE: ci/docker/build_cp2k_psmp.Dockerfile
test_cp2k_job:
extends: .container-runner-eiger
stage: test_cp2k
timeout: 2 hours
image: $PERSIST_IMAGE_NAME
script:
- /opt/cp2k/tools/docker/scripts/test_regtest_cmake.sh toolchain psmp
variables:
OMP_NUM_THREADS: 2
SLURM_NTASKS: 64
SLURM_TIMELIMIT: "60:00"
#test_cp2k_job:
# extends: .container-runner-eiger
# stage: test_cp2k
# timeout: 2 hours
# image: $PERSIST_IMAGE_NAME
# script:
# - /opt/cp2k/tools/docker/scripts/test_regtest_cmake.sh toolchain psmp
# variables:
# OMP_NUM_THREADS: 2
# SLURM_NTASKS: 64
# SLURM_TIMELIMIT: "60:00"

View file

@ -0,0 +1,14 @@
WORKDIR /opt/cp2k
COPY ./src ./src
COPY ./data ./data
COPY ./tests ./tests
COPY ./tools/build_utils ./tools/build_utils
COPY ./cmake ./cmake
COPY ./CMakeLists.txt .
# Build CP2K with CMake and run regression tests
COPY ./tools/docker/scripts/build_cp2k_cmake.sh ./
RUN /bin/bash -o pipefail -c " \
./build_cp2k_cmake.sh toolchain psmp |& tee build_cp2k.log"
#EOF

View file

@ -1,4 +1,4 @@
FROM ubuntu:24.04
FROM ubuntu:24.04 AS build
# Install requirements for the toolchain
WORKDIR /opt/cp2k-toolchain