***
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
d5f6d899
Commit
d5f6d899
authored
1 year ago
by
Hanser, Valentin
Browse files
Options
Downloads
Patches
Plain Diff
test pipeline
parent
9cc0c2f3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#243359
canceled with stage
in 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+30
-12
30 additions, 12 deletions
.gitlab-ci.yml
with
30 additions
and
12 deletions
.gitlab-ci.yml
+
30
−
12
View file @
d5f6d899
...
...
@@ -24,19 +24,23 @@ build-ngsolve-job: # This job runs in the build stage, which runs first.
stage
:
build
image
:
python:3.10
before_script
:
-
apt-get update -q -y
-
apt-get -y install python3 python3-distutils python3-tk libpython3-dev libxmu-dev tk-dev tcl-dev cmake git g++ libglu1-mesa-dev liblapacke-dev libocct-data-exchange-dev libocct-draw-dev occt-misc libtbb-dev libxi-dev
script
:
-
pwd
-
export BASEDIR=/builds/valentin.hanser/ngmultiscal/ngsuite
-
echo $BASEDIR
-
mkdir -p $BASEDIR
-
touch test.txt
-
echo "this is my text" >> test.txt
-
mkdir ngsuite
-
cd ngsuite
-
touch infolder.txt
-
echo "in folder text" >> infolder.txt
-
cd $BASEDIR && git clone https://github.com/NGSolve/ngsolve.git ngsolve-src
-
cd $BASEDIR/ngsolve-src && git submodule update --init --recursive
-
mkdir $BASEDIR/ngsolve-build
-
mkdir $BASEDIR/ngsolve-install
-
cd $BASEDIR/ngsolve-build
-
cmake -DCMAKE_INSTALL_PREFIX=${BASEDIR}/ngsolve-install ${BASEDIR}/ngsolve-src
-
make -j4
-
ls
-
ls $BASEDIR
-
cd
...
...
@@ -74,13 +78,27 @@ build-cempy-job:
-
"
build-ngsolve-job"
before_script
:
-
apt-get update -q -y
-
apt-get install -y python3-pip
-
python -V
-
apt-get install -y cmake
script
:
-
ls
-
cat test.txt
-
cd ngsuite
-
ls
-
cat infolder.txt
-
echo "Compiling the code for cempy..."
-
cd C++/cmake
-
mkdir build
-
cd build
-
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 "from ngsolve import *;import cempy as cp"
-
cd
-
export PYTHONPATH=~/C++/cmake/build
-
python3 -c "from ngsolve import *;import cempy as cp"
cache
:
-
key
:
cache-cempy
...
...
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