Docker: Add cmake consistency check to misc tests

This commit is contained in:
Ole Schütt 2023-04-17 23:41:44 +02:00 committed by Ole Schütt
parent 6588233bd8
commit 89e83184de
5 changed files with 7 additions and 0 deletions

View file

@ -17,6 +17,7 @@ COPY ./exts ./exts
COPY ./data ./data
COPY ./tools ./tools
COPY ./cmake ./cmake
COPY ./CMakeLists.txt .
COPY ./Makefile .
RUN bash -c "if [ -n "${GIT_COMMIT_SHA}" ] ; then echo "git:\${GIT_COMMIT_SHA::7}" > REVISION; fi"

View file

@ -17,6 +17,7 @@ COPY ./exts ./exts
COPY ./data ./data
COPY ./tools ./tools
COPY ./cmake ./cmake
COPY ./CMakeLists.txt .
COPY ./Makefile .
RUN bash -c "if [ -n "${GIT_COMMIT_SHA}" ] ; then echo "git:\${GIT_COMMIT_SHA::7}" > REVISION; fi"

View file

@ -288,6 +288,7 @@ COPY ./exts ./exts
COPY ./data ./data
COPY ./tools ./tools
COPY ./cmake ./cmake
COPY ./CMakeLists.txt .
COPY ./Makefile .
RUN bash -c "if [ -n "${{GIT_COMMIT_SHA}}" ] ; then echo "git:\${{GIT_COMMIT_SHA::7}}" > REVISION; fi"

View file

@ -13,6 +13,8 @@ apt-get install -qq --no-install-recommends \
python3-setuptools \
python3-dev \
build-essential \
gfortran \
cmake \
golang \
unzip \
wget

View file

@ -53,6 +53,8 @@ run_test mypy --strict ./tools/conventions/analyze_gfortran_ast.py
# /workspace/artifacts/dashboard/
# done
run_test cmake -DCP2K_ENABLE_CONSISTENCY_CHECKS=ON .
echo ""
echo "Summary: Miscellaneous tests passed"
echo "Status: OK"