From a2cf1e3e9bc6506449fecb76ea596f1fa09886ab Mon Sep 17 00:00:00 2001 From: Frederik Hennig <frederik.hennig@fau.de> Date: Tue, 23 Jul 2024 14:13:24 +0200 Subject: [PATCH] Add CI job to test against pystencils v2.0-dev --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4555ae31..3833c365 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - pretest - test + - prerelease - nightly - docs - deploy @@ -211,6 +212,35 @@ pycodegen-integration: - cuda11 - AVX +# -------------------- pystencils Pre-Release -------------------------------------------------------------------------- + + +pystencils-2.0dev: + stage: prerelease + extends: .every-commit + image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full + allow_failure: true + needs: [] + before_script: + - pip install sympy --upgrade + - pip install git+https://gitlab-ci-token:${CI_JOB_TOKEN}@i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev#egg=pystencils + script: + - export NUM_CORES=$(nproc --all) + - mkdir -p ~/.config/matplotlib + - echo "backend:template" > ~/.config/matplotlib/matplotlibrc + - env + - pip list + - py.test -v -n $NUM_CORES -m "not longrun" --junitxml=report.xml + tags: + - docker + - AVX + - cuda11 + artifacts: + when: always + reports: + junit: report.xml + + # -------------------- Scheduled Tasks -------------------------------------------------------------------------- -- GitLab