***
Wartungsfenster jeden ersten Mittwoch vormittag im Monat
***
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngmultiscale
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hanser, Valentin
ngmultiscale
Commits
904df6fb
Commit
904df6fb
authored
1 year ago
by
Hanser, Valentin
Browse files
Options
Downloads
Patches
Plain Diff
updated ci pipeline
parent
bdcd223f
Loading
Loading
No related merge requests found
Pipeline
#240286
passed with stages
in 7 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+28
-28
28 additions, 28 deletions
.gitlab-ci.yml
with
28 additions
and
28 deletions
.gitlab-ci.yml
+
28
−
28
View file @
904df6fb
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment