Commit 5d5fec45 authored by niklas.baumgarten's avatar niklas.baumgarten

updated yml

parent 763d84e7
Pipeline #84291 failed with stages
in 6 minutes and 13 seconds
......@@ -5,6 +5,9 @@ stages:
build-mpp:
stage: build
only:
- branches
variables:
GIT_SUBMODULE_STRATEGY: recursive
......@@ -23,9 +26,16 @@ build-mpp:
- cmake ..
- make -j
# cache:
# paths:
# - sprng5
artifacts:
paths:
- build/src
- build/LIB_PS
- build/googletest
expire_in: '1h'
cache:
paths:
- sprng5
program-test:
stage: test
......@@ -33,19 +43,9 @@ program-test:
only:
- branches
before_script:
- module add foss
- module add Anaconda3
- tar xjf sprng5.tar.bz2
- cd sprng5
- ./configure --with-mpi=yes --with-fortran=no
- make -j
- cd ..
- mkdir build
- cd build
- cmake ..
- make -j
script:
- cd tests
......@@ -53,13 +53,21 @@ program-test:
- mpirun -n 4 TestMultilevelPlotter
# Part for downstream pipeline
#downstream-build:
# stage: build
#
# script:
# - ls
downstream-test:
stage: test
only:
variables:
- $CI_PIPELINE_SOURCE == "pipeline"
# Todo define remote branch maybe with variables
- pipelines
before_script:
- module add foss
......@@ -79,6 +87,12 @@ downstream-test:
- make -j
script:
- "curl -SL
https://git.scc.kit.edu/mpp/mpp/-/jobs/artifacts/feature/download?job=build-mpp"
- unzip build.zip
- cd build
- cmake ..
- make -j
- cd tests
- mpirun -n 4 TestMainProgram
- mpirun -n 4 TestMultilevelPlotter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment