mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 06:05:29 -04:00
Docker: Add cmake consistency check to misc tests
This commit is contained in:
parent
6588233bd8
commit
89e83184de
5 changed files with 7 additions and 0 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ apt-get install -qq --no-install-recommends \
|
|||
python3-setuptools \
|
||||
python3-dev \
|
||||
build-essential \
|
||||
gfortran \
|
||||
cmake \
|
||||
golang \
|
||||
unzip \
|
||||
wget
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue