Skip to content
Snippets Groups Projects
Commit c74ce5e8 authored by Stephan Schulz's avatar Stephan Schulz
Browse files
parents 22e6aa50 daf7a109
Branches
Tags
No related merge requests found
Pipeline #58452 passed
stages:
- init
- test_projects
- build_mpich_gcc8
- build_openmpi_gcc8
- build_mpich_gcc9
......@@ -483,6 +484,36 @@ build-openmpi-complete-gcc10:
- badges/
allow_failure: false
test-project-cmake:
stage: test_projects
image: gitlab.version.fz-juelich.de:5555/slms/loadbalancing/openmpi-gcc10-full:latest
tags:
- public-docker
when: always
script:
- ./ci/test_project_cmake.sh
allow_failure: false
test-project-cmake-subdir:
stage: test_projects
image: gitlab.version.fz-juelich.de:5555/slms/loadbalancing/openmpi-gcc10-full:latest
tags:
- public-docker
when: always
script:
- ./ci/test_project_cmake_subdir.sh
allow_failure: false
test-project-makefile:
stage: test_projects
image: gitlab.version.fz-juelich.de:5555/slms/loadbalancing/openmpi-gcc10-full:latest
tags:
- public-docker
when: always
script:
- ./ci/test_project_makefile.sh
allow_failure: false
release:
stage: release
only:
......
......@@ -40,9 +40,8 @@ function find_ALL {
}
function find_VTK {
# todo(s.schulz): This must be adapted for docker images! Right now this
# is only correct on my own machine.
VTK_DIR="$CI_SCRIPT_PATH/../../vtk_bin"
#VTK_DIR="$CI_SCRIPT_PATH/../../vtk_bin" #local machine
VTK_DIR=/usr/local
}
# push badge to tmp-branch and exit
......
......@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
TEMP=$(mktemp -d)
rsync -aLK ../example/CMakeProject/ "$TEMP"
cp -rL "$CI_SCRIPT_PATH/../example/CMakeProject/." "$TEMP"
cd "$TEMP"
sed -i\
-e "/^ALL_ROOT_DIR=/c\\\nALL_ROOT_DIR=\"$ALL_ROOT_DIR\"\n"\
......
......@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
TEMP=$(mktemp -d)
rsync -aLK ../example/CMakeProjectSubdir/ "$TEMP"
cp -rL "$CI_SCRIPT_PATH/../example/CMakeProjectSubdir/." "$TEMP"
cd "$TEMP"
ln -s "$ALL_ROOT_DIR" all
ln -s "$VTK_DIR" vtk_bin
......
......@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
TEMP=$(mktemp -d)
rsync -aLK ../example/MakefileProject/ "$TEMP"
cp -rL "$CI_SCRIPT_PATH/../example/MakefileProject/." "$TEMP"
cd "$TEMP"
sed -i\
-e "/^ALL_SOURCE=/c\\\nALL_SOURCE=\"$ALL_ROOT_DIR\"\n"\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment