From 5c2cc1d91dae7bd56745d4198a5436673f0decb4 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 20 Jul 2023 21:13:57 +0200 Subject: [PATCH] include Fortran test suite --- .gitlab-ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25ffbc0f1..abfd3e1cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,6 +85,37 @@ mypy: ################################################################################################### +unittest_GNU_DEBUG: + stage: compile + script: + - module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU} + - TMPDIR=$(mktemp -d) + - cmake -B ${TMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TMPDIR} -DCMAKE_BUILD_TYPE=RELEASE + - cmake --build ${TMPDIR} --target install + - cd ${TMPDIR} + - ./bin/DAMASK_test + +unittest_GNU_RELEASE: + stage: compile + script: + - module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU} + - TMPDIR=$(mktemp -d) + - cmake -B ${TMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TMPDIR} -DCMAKE_BUILD_TYPE=RELEASE + - cmake --build ${TMPDIR} --target install + - cd ${TMPDIR} + - ./bin/DAMASK_test + +unittest_GNU_PERFORMANCE: + stage: compile + script: + - module load ${COMPILER_GNU} ${MPI_GNU} ${PETSC_GNU} + - TMPDIR=$(mktemp -d) + - cmake -B ${TMPDIR} -DDAMASK_SOLVER=test -DCMAKE_INSTALL_PREFIX=${TMPDIR} -DCMAKE_BUILD_TYPE=PERFORMANCE + - cmake --build ${TMPDIR} --target install + - cd ${TMPDIR} + - ./bin/DAMASK_test + + grid_GNU: stage: compile script: