From d6301eea727b4fe96657289fd103455c1ccbcaa4 Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Mon, 23 Sep 2019 13:02:02 +0200 Subject: [PATCH] Added integration test that checks out pycodegen repo --- .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37bc43f97..8878b59c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,6 +101,39 @@ minimal-sympy-master: tags: - docker + +pycodegen-integration: + image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full + stage: test + when: manual + script: + - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pycodegen.git + - cd pycodegen + - git submodule sync --recursive + - git submodule update --init --recursive + - git submodule foreach git fetch origin # compare the latest master version! + - git submodule foreach git reset --hard origin/master + - cd pystencils + - git reset --hard $CI_COMMIT_SHA + - cd .. + - export PYTHONPATH=`pwd`/pystencils:`pwd`/lbmpy:`pwd`/pygrandchem:`pwd`/pystencils_walberla:`pwd`/lbmpy_walberla + - ./install_walberla.sh + - export NUM_CORES=$(nproc --all) + - mkdir -p ~/.config/matplotlib + - echo "backend:template" > ~/.config/matplotlib/matplotlibrc + - cd pystencils + - py.test -v -n $NUM_CORES . + - cd ../lbmpy + - py.test -v -n $NUM_CORES . + - cd ../pygrandchem + - py.test -v -n $NUM_CORES . + - cd ../walberla/build/ + - make CodegenJacobiCPU CodegenJacobiGPU MicroBenchmarkGpuLbm LbCodeGenerationExample + tags: + - docker + - cuda + - AVX + # -------------------- Linter & Documentation -------------------------------------------------------------------------- -- GitLab