Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
pycodegen
pystencils
Commits
fddca9ad
Commit
fddca9ad
authored
2 years ago
by
Markus Holzer
Browse files
Options
Downloads
Plain Diff
Merge branch 'FixPipeline' into 'master'
Fix longruns See merge request
!299
parents
a100881c
7a3eae03
No related branches found
No related tags found
1 merge request
!299
Fix longruns
Pipeline
#41184
passed with warnings
2 years ago
Stage: pretest
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+19
-25
19 additions, 25 deletions
.gitlab-ci.yml
with
19 additions
and
25 deletions
.gitlab-ci.yml
+
19
−
25
View file @
fddca9ad
...
@@ -36,53 +36,50 @@ tests-and-coverage:
...
@@ -36,53 +36,50 @@ tests-and-coverage:
cobertura
:
coverage.xml
cobertura
:
coverage.xml
junit
:
report.xml
junit
:
report.xml
#
pipeline with latest python version
#
Normal test with longruns
la
test
-pytho
n
:
test
s-and-coverage-with-longru
n
:
stage
:
test
stage
:
test
except
:
when
:
manual
variables
:
allow_failure
:
true
-
$ENABLE_NIGHTLY_BUILDS
image
:
i10git.cs.fau.de:5005/pycodegen/pycodegen/full
image
:
i10git.cs.fau.de:5005/pycodegen/pycodegen/latest_python
script
:
script
:
-
pip install sympy --upgrade
-
env
-
env
-
pip list
-
pip list
-
export NUM_CORES=$(nproc --all)
-
export NUM_CORES=$(nproc --all)
-
mkdir -p ~/.config/matplotlib
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
mkdir public
-
mkdir public
-
py.test -v -n $NUM_CORES
-m "not longrun" --junitxml=report.xml
-
py.test -v -n $NUM_CORES
tags
:
tags
:
-
docker
-
docker
-
cuda11
-
AVX
-
AVX
artifacts
:
when
:
always
reports
:
junit
:
report.xml
#
Nightly test - runs "long run" jobs only
#
pipeline with latest python version
test-
longru
n
:
la
test-
pytho
n
:
stage
:
test
stage
:
test
only
:
except
:
variables
:
variables
:
-
$ENABLE_NIGHTLY_BUILDS
-
$ENABLE_NIGHTLY_BUILDS
image
:
i10git.cs.fau.de:5005/pycodegen/pycodegen/
full
image
:
i10git.cs.fau.de:5005/pycodegen/pycodegen/
latest_python
script
:
script
:
-
env
-
pip list
-
export NUM_CORES=$(nproc --all)
-
export NUM_CORES=$(nproc --all)
-
mkdir -p ~/.config/matplotlib
-
mkdir -p ~/.config/matplotlib
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
echo "backend:template" > ~/.config/matplotlib/matplotlibrc
-
py.test -v -n $NUM_CORES --cov-report html --cov-report term --cov=. --html test-report/index.html --junitxml=report.xml
-
mkdir public
-
py.test -v -n $NUM_CORES -m "not longrun" --junitxml=report.xml
tags
:
tags
:
-
docker
-
docker
-
cuda11
-
AVX
-
AVX
artifacts
:
artifacts
:
when
:
always
when
:
always
paths
:
-
coverage_report
-
test-report
reports
:
reports
:
junit
:
report.xml
junit
:
report.xml
# Minimal tests in windows environment
# Minimal tests in windows environment
minimal-windows
:
minimal-windows
:
stage
:
test
stage
:
test
...
@@ -248,7 +245,6 @@ pycodegen-integration:
...
@@ -248,7 +245,6 @@ pycodegen-integration:
-
cd ..
-
cd ..
-
pip install -e pystencils/
-
pip install -e pystencils/
-
pip install -e lbmpy/
-
pip install -e lbmpy/
-
pip install -e pygrandchem/
-
cmake --version
-
cmake --version
-
./install_walberla.sh
-
./install_walberla.sh
-
export NUM_CORES=$(nproc --all)
-
export NUM_CORES=$(nproc --all)
...
@@ -258,14 +254,12 @@ pycodegen-integration:
...
@@ -258,14 +254,12 @@ pycodegen-integration:
-
py.test -v -n $NUM_CORES --junitxml=report.xml .
-
py.test -v -n $NUM_CORES --junitxml=report.xml .
-
cd ../lbmpy
-
cd ../lbmpy
-
py.test -v -n $NUM_CORES --junitxml=report.xml .
-
py.test -v -n $NUM_CORES --junitxml=report.xml .
-
cd ../pygrandchem
-
py.test -v -n $NUM_CORES --junitxml=report.xml .
-
cd ../walberla/build/
-
cd ../walberla/build/
-
make -j $NUM_CORES CodegenJacobiCPU CodegenJacobiGPU CodegenPoissonCPU CodegenPoissonGPU MicroBenchmarkGpuLbm LbCodeGenerationExample
-
make -j $NUM_CORES CodegenJacobiCPU CodegenJacobiGPU CodegenPoissonCPU CodegenPoissonGPU MicroBenchmarkGpuLbm LbCodeGenerationExample
-
make -j $NUM_CORES multiphaseCPU multiphaseGPU FluctuatingMRT FlowAroundSphereCodeGen
-
make -j $NUM_CORES multiphaseCPU multiphaseGPU FluctuatingMRT FlowAroundSphereCodeGen
FieldLayoutAndVectorizationTest GeneratedOutflowBC
-
cd apps/benchmarks/UniformGridGPU
-
cd apps/benchmarks/UniformGridGPU
-
make -j $NUM_CORES
-
make -j $NUM_CORES
-
cd ../UniformGrid
Generated
-
cd ../UniformGrid
CPU
-
make -j $NUM_CORES
-
make -j $NUM_CORES
tags
:
tags
:
-
docker
-
docker
...
...
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