*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 904df6fb authored by Hanser, Valentin's avatar Hanser, Valentin
Browse files

updated ci pipeline

parent bdcd223f
No related merge requests found
Pipeline #240286 passed with stages
in 7 minutes and 11 seconds
......@@ -57,10 +57,10 @@ build-ngsolve-job: # This job runs in the build stage, which runs first.
- cmake .. -DOPTION_BIOTSAVART=OFF -DOPTION_BSPLINEINTERFACESPACE=OFF -DOPTION_PREISACH_SCALAR=OFF -DOPTION_PREISACH_VECTOR=OFF -DOPTION_ENERGYBASEDMODEL=OFF -DOPTION_MARKUSLIB=OFF -DOPTION_MULTISCALE=OFF -DOPTION_MUNONLINBIRO=OFF -DOPTION_NONLINEAR=OFF -DOPTION_PHIFUNCTIONS=OFF
- make -j4
- python3 -c "import cempy as cp"
- cd
- export PYTHONPATH=~/C++/cmake/build
- python3 -c "import cempy as cp"
# - python3 -c "import cempy as cp"
# - cd
# - export PYTHONPATH=~/C++/cmake/build
# - python3 -c "import cempy as cp"
......@@ -129,39 +129,39 @@ build-unitTestPreisachScalar-job: # This job runs in the build stage, whic
# ---------------------------------------------------------------
unit-tests-ngsolve-job:
stage: test
image: python:3.10
# unit-tests-ngsolve-job:
# stage: test
# image: python:3.10
dependencies:
- build-ngsolve-job
# dependencies:
# - build-ngsolve-job
before_script:
# virtual python3 env
# - apt update && apt install python3.10-venv
- apt-get update -q -y
- apt-get install -y python3-pip
- python -V
- pip3 install ngsolve
# before_script:
# # virtual python3 env
# # - apt update && apt install python3.10-venv
# - apt-get update -q -y
# - apt-get install -y python3-pip
# - python -V
# - pip3 install ngsolve
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
# cache:
# key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
script:
- echo "Running Unit Testcode for ngSolve..."
# script:
# - echo "Running Unit Testcode for ngSolve..."
- ls
# - ls
- ls ./C++/cmake/build
# - ls ./C++/cmake/build
- export PATH=$PATH:~/usr/local/lib/cmake/netgen
- export PYTHONPATH=~/C++/cmake/build
# - export PATH=$PATH:~/usr/local/lib/cmake/netgen
# - export PYTHONPATH=~/C++/cmake/build
- echo $PYTHONPATH
- ls $PYTHONPATH
- cd ./unitTests
- python3 ./dataClassUnit.py
# - echo $PYTHONPATH
# - ls $PYTHONPATH
# - cd ./unitTests
# - python3 ./dataClassUnit.py
unit-test-basicTypes-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment