Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
waLBerla
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Markus Holzer
waLBerla
Commits
bcc28acb
Commit
bcc28acb
authored
4 years ago
by
Michael Kuron
Browse files
Options
Downloads
Patches
Plain Diff
Display ctest results in Gitlab
parent
783e3c3a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+92
-123
92 additions, 123 deletions
.gitlab-ci.yml
cmake/ctest2junit.py
+157
-0
157 additions, 0 deletions
cmake/ctest2junit.py
with
249 additions
and
123 deletions
.gitlab-ci.yml
+
92
−
123
View file @
bcc28acb
...
@@ -52,7 +52,9 @@ stages:
...
@@ -52,7 +52,9 @@ stages:
-DWALBERLA_STL_BOUNDS_CHECKS=$WALBERLA_STL_BOUNDS_CHECKS
-DWALBERLA_STL_BOUNDS_CHECKS=$WALBERLA_STL_BOUNDS_CHECKS
-
cmake . -LA
-
cmake . -LA
-
make -j $NUM_BUILD_CORES -l $NUM_CORES
-
make -j $NUM_BUILD_CORES -l $NUM_CORES
-
ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES
-
ctest -LE $CTEST_EXCLUDE_LABELS -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test
after_script
:
-
python3 cmake/ctest2junit.py build > report.xml
tags
:
tags
:
-
docker
-
docker
variables
:
variables
:
...
@@ -67,6 +69,12 @@ stages:
...
@@ -67,6 +69,12 @@ stages:
WALBERLA_BUILD_WITH_METIS
:
"
ON"
WALBERLA_BUILD_WITH_METIS
:
"
ON"
WALBERLA_BUILD_WITH_PARMETIS
:
"
ON"
WALBERLA_BUILD_WITH_PARMETIS
:
"
ON"
WALBERLA_ENABLE_GUI
:
"
OFF"
WALBERLA_ENABLE_GUI
:
"
OFF"
artifacts
:
when
:
always
reports
:
junit
:
-
report.xml
-
python/report.xml
###############################################################################
###############################################################################
...
@@ -83,8 +91,7 @@ intel_19_serial:
...
@@ -83,8 +91,7 @@ intel_19_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -109,8 +116,7 @@ intel_19_mpionly:
...
@@ -109,8 +116,7 @@ intel_19_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -133,8 +139,7 @@ intel_19_hybrid:
...
@@ -133,8 +139,7 @@ intel_19_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -152,8 +157,7 @@ intel_19_serial_dbg:
...
@@ -152,8 +157,7 @@ intel_19_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -175,8 +179,7 @@ intel_19_mpionly_dbg:
...
@@ -175,8 +179,7 @@ intel_19_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -196,8 +199,7 @@ intel_19_hybrid_dbg:
...
@@ -196,8 +199,7 @@ intel_19_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -230,8 +232,7 @@ gcc_7_serial:
...
@@ -230,8 +232,7 @@ gcc_7_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -255,8 +256,7 @@ gcc_7_mpionly:
...
@@ -255,8 +256,7 @@ gcc_7_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -278,8 +278,7 @@ gcc_7_hybrid:
...
@@ -278,8 +278,7 @@ gcc_7_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -300,8 +299,7 @@ gcc_7_serial_dbg:
...
@@ -300,8 +299,7 @@ gcc_7_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -327,8 +325,7 @@ gcc_7_mpionly_dbg:
...
@@ -327,8 +325,7 @@ gcc_7_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -351,8 +348,7 @@ gcc_7_hybrid_dbg:
...
@@ -351,8 +348,7 @@ gcc_7_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -387,8 +383,7 @@ gcc_8_serial:
...
@@ -387,8 +383,7 @@ gcc_8_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -412,8 +407,7 @@ gcc_8_mpionly:
...
@@ -412,8 +407,7 @@ gcc_8_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -435,8 +429,7 @@ gcc_8_hybrid:
...
@@ -435,8 +429,7 @@ gcc_8_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -457,8 +450,7 @@ gcc_8_serial_dbg:
...
@@ -457,8 +450,7 @@ gcc_8_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -483,8 +475,7 @@ gcc_8_mpionly_dbg:
...
@@ -483,8 +475,7 @@ gcc_8_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -507,8 +498,7 @@ gcc_8_hybrid_dbg:
...
@@ -507,8 +498,7 @@ gcc_8_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -547,8 +537,7 @@ gcc_9_serial:
...
@@ -547,8 +537,7 @@ gcc_9_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -570,8 +559,7 @@ gcc_9_mpionly:
...
@@ -570,8 +559,7 @@ gcc_9_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -591,8 +579,7 @@ gcc_9_hybrid:
...
@@ -591,8 +579,7 @@ gcc_9_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -611,8 +598,7 @@ gcc_9_serial_dbg:
...
@@ -611,8 +598,7 @@ gcc_9_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -635,8 +621,7 @@ gcc_9_mpionly_dbg:
...
@@ -635,8 +621,7 @@ gcc_9_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -657,8 +642,7 @@ gcc_9_hybrid_dbg:
...
@@ -657,8 +642,7 @@ gcc_9_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -694,8 +678,7 @@ gcc_10_serial:
...
@@ -694,8 +678,7 @@ gcc_10_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -717,8 +700,7 @@ gcc_10_mpionly:
...
@@ -717,8 +700,7 @@ gcc_10_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -739,8 +721,7 @@ gcc_10_hybrid:
...
@@ -739,8 +721,7 @@ gcc_10_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -755,8 +736,7 @@ gcc_10_serial_dbg:
...
@@ -755,8 +736,7 @@ gcc_10_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -775,8 +755,7 @@ gcc_10_mpionly_dbg:
...
@@ -775,8 +755,7 @@ gcc_10_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -793,8 +772,7 @@ gcc_10_hybrid_dbg:
...
@@ -793,8 +772,7 @@ gcc_10_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
variables
:
variables
:
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
WALBERLA_BUILD_WITH_CUDA
:
"
OFF"
...
@@ -822,8 +800,7 @@ clang_6.0_serial:
...
@@ -822,8 +800,7 @@ clang_6.0_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -847,8 +824,7 @@ clang_6.0_mpionly:
...
@@ -847,8 +824,7 @@ clang_6.0_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -870,8 +846,7 @@ clang_6.0_hybrid:
...
@@ -870,8 +846,7 @@ clang_6.0_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -892,8 +867,7 @@ clang_6.0_serial_dbg:
...
@@ -892,8 +867,7 @@ clang_6.0_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -918,8 +892,7 @@ clang_6.0_mpionly_dbg:
...
@@ -918,8 +892,7 @@ clang_6.0_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -942,8 +915,7 @@ clang_6.0_hybrid_dbg:
...
@@ -942,8 +915,7 @@ clang_6.0_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -978,8 +950,7 @@ clang_7.0_serial:
...
@@ -978,8 +950,7 @@ clang_7.0_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1003,8 +974,7 @@ clang_7.0_mpionly:
...
@@ -1003,8 +974,7 @@ clang_7.0_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1026,8 +996,7 @@ clang_7.0_hybrid:
...
@@ -1026,8 +996,7 @@ clang_7.0_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1048,8 +1017,7 @@ clang_7.0_serial_dbg:
...
@@ -1048,8 +1017,7 @@ clang_7.0_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1074,8 +1042,7 @@ clang_7.0_mpionly_dbg:
...
@@ -1074,8 +1042,7 @@ clang_7.0_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1098,8 +1065,7 @@ clang_7.0_hybrid_dbg:
...
@@ -1098,8 +1065,7 @@ clang_7.0_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1138,8 +1104,7 @@ clang_8.0_serial:
...
@@ -1138,8 +1104,7 @@ clang_8.0_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1163,8 +1128,7 @@ clang_8.0_mpionly:
...
@@ -1163,8 +1128,7 @@ clang_8.0_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1186,8 +1150,7 @@ clang_8.0_hybrid:
...
@@ -1186,8 +1150,7 @@ clang_8.0_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1208,8 +1171,7 @@ clang_8.0_serial_dbg:
...
@@ -1208,8 +1171,7 @@ clang_8.0_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1234,8 +1196,7 @@ clang_8.0_mpionly_dbg:
...
@@ -1234,8 +1196,7 @@ clang_8.0_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1258,8 +1219,7 @@ clang_8.0_hybrid_dbg:
...
@@ -1258,8 +1219,7 @@ clang_8.0_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1298,8 +1258,7 @@ clang_9.0_serial:
...
@@ -1298,8 +1258,7 @@ clang_9.0_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1323,8 +1282,7 @@ clang_9.0_mpionly:
...
@@ -1323,8 +1282,7 @@ clang_9.0_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1346,8 +1304,7 @@ clang_9.0_hybrid:
...
@@ -1346,8 +1304,7 @@ clang_9.0_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1368,8 +1325,7 @@ clang_9.0_serial_dbg:
...
@@ -1368,8 +1325,7 @@ clang_9.0_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1394,8 +1350,7 @@ clang_9.0_mpionly_dbg:
...
@@ -1394,8 +1350,7 @@ clang_9.0_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1418,8 +1373,7 @@ clang_9.0_hybrid_dbg:
...
@@ -1418,8 +1373,7 @@ clang_9.0_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1458,8 +1412,7 @@ clang_10.0_serial:
...
@@ -1458,8 +1412,7 @@ clang_10.0_serial:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1483,8 +1436,7 @@ clang_10.0_mpionly:
...
@@ -1483,8 +1436,7 @@ clang_10.0_mpionly:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1506,8 +1458,7 @@ clang_10.0_hybrid:
...
@@ -1506,8 +1458,7 @@ clang_10.0_hybrid:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1524,8 +1475,7 @@ clang_10.0_serial_dbg:
...
@@ -1524,8 +1475,7 @@ clang_10.0_serial_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1546,8 +1496,7 @@ clang_10.0_mpionly_dbg:
...
@@ -1546,8 +1496,7 @@ clang_10.0_mpionly_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1566,8 +1515,7 @@ clang_10.0_hybrid_dbg:
...
@@ -1566,8 +1515,7 @@ clang_10.0_hybrid_dbg:
before_script
:
before_script
:
-
pip3 install lbmpy jinja2
-
pip3 install lbmpy jinja2
-
cd python
-
cd python
-
python3 -m unittest discover pystencils_walberla/
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
python3 -m unittest discover lbmpy_walberla/
-
cd ..
-
cd ..
-
CC=gcc CXX=g++ pip3 install pycuda
-
CC=gcc CXX=g++ pip3 install pycuda
variables
:
variables
:
...
@@ -1757,7 +1705,9 @@ coverage:
...
@@ -1757,7 +1705,9 @@ coverage:
-
cd build
-
cd build
-
cmake -LA -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_DOUBLE_ACCURACY=$WALBERLA_DOUBLE_ACCURACY -DWARNING_ERROR=ON -G "$CMAKE_GENERATOR" -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE ..
-
cmake -LA -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_DOUBLE_ACCURACY=$WALBERLA_DOUBLE_ACCURACY -DWARNING_ERROR=ON -G "$CMAKE_GENERATOR" -DCMAKE_DISABLE_FIND_PACKAGE_Boost=TRUE ..
-
MSBuild.exe walberla.sln /property:Configuration=$BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4
-
MSBuild.exe walberla.sln /property:Configuration=$BUILD_CONFIGURATION /verbosity:minimal /maxcpucount:4
-
ctest -LE $CTEST_EXCLUDE_LABELS -C $BUILD_CONFIGURATION --output-on-failure -j
4
-
ctest -LE $CTEST_EXCLUDE_LABELS -C $BUILD_CONFIGURATION --output-on-failure -j 4 -T Test
after_script
:
-
python3 cmake/ctest2junit.py build > report.xml
variables
:
variables
:
CMAKE_GENERATOR
:
"
Visual
Studio
15
2017
Win64"
CMAKE_GENERATOR
:
"
Visual
Studio
15
2017
Win64"
BUILD_CONFIGURATION
:
"
Release"
BUILD_CONFIGURATION
:
"
Release"
...
@@ -1765,6 +1715,12 @@ coverage:
...
@@ -1765,6 +1715,12 @@ coverage:
WALBERLA_BUILD_WITH_MPI
:
"
ON"
WALBERLA_BUILD_WITH_MPI
:
"
ON"
WALBERLA_BUILD_WITH_OPENMP
:
"
ON"
WALBERLA_BUILD_WITH_OPENMP
:
"
ON"
WALBERLA_DOUBLE_ACCURACY
:
"
ON"
WALBERLA_DOUBLE_ACCURACY
:
"
ON"
artifacts
:
when
:
always
reports
:
junit
:
-
report.xml
-
python/report.xml
...
@@ -1937,9 +1893,22 @@ msvc-14.2_mpionly:
...
@@ -1937,9 +1893,22 @@ msvc-14.2_mpionly:
-
cmake .. -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_TOOLS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_PYTHON=$WALBERLA_BUILD_WITH_PYTHON -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_BUILD_WITH_CUDA=$WALBERLA_BUILD_WITH_CUDA -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DWARNING_ERROR=ON
-
cmake .. -DWALBERLA_BUILD_TESTS=ON -DWALBERLA_BUILD_BENCHMARKS=ON -DWALBERLA_BUILD_TUTORIALS=ON -DWALBERLA_BUILD_TOOLS=ON -DWALBERLA_BUILD_WITH_MPI=$WALBERLA_BUILD_WITH_MPI -DWALBERLA_BUILD_WITH_PYTHON=$WALBERLA_BUILD_WITH_PYTHON -DWALBERLA_BUILD_WITH_OPENMP=$WALBERLA_BUILD_WITH_OPENMP -DWALBERLA_BUILD_WITH_CUDA=$WALBERLA_BUILD_WITH_CUDA -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DWARNING_ERROR=ON
-
cmake . -LA
-
cmake . -LA
-
make -j $NUM_BUILD_CORES -l $NUM_CORES
-
make -j $NUM_BUILD_CORES -l $NUM_CORES
-
ctest -LE "$CTEST_EXCLUDE_LABELS|cuda" -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES
-
ctest -LE "$CTEST_EXCLUDE_LABELS|cuda" -C $CMAKE_BUILD_TYPE --output-on-failure -j $NUM_CORES -T Test
before_script
:
-
pip3 install --user lbmpy jinja2 pytest-cov lxml
-
cd python
-
python3 -m pytest --junitxml=report.xml pystencils_walberla lbmpy_walberla
-
cd ..
after_script
:
-
python3 cmake/ctest2junit.py build > report.xml
tags
:
tags
:
-
mac
-
mac
artifacts
:
when
:
always
reports
:
junit
:
-
report.xml
-
python/report.xml
mac_Serial_Dbg
:
mac_Serial_Dbg
:
<<
:
*mac_build_definition
<<
:
*mac_build_definition
...
...
This diff is collapsed.
Click to expand it.
cmake/ctest2junit.py
0 → 100755
+
157
−
0
View file @
bcc28acb
#!/usr/bin/env python3
# This file is from https://github.com/scikit-build/scikit-ci-addons/tree/master/anyci
# under Apache 2.0 license.
import
os
import
sys
from
lxml
import
etree
def
process
(
build_dir
):
tag_file
=
build_dir
+
"
/Testing/TAG
"
if
not
os
.
path
.
exists
(
tag_file
):
raise
RuntimeError
(
"
Missing tag file %s
"
%
tag_file
)
with
open
(
build_dir
+
"
/Testing/TAG
"
,
'
r
'
)
as
tag
:
dir_name
=
tag
.
readline
().
strip
()
test_xml
=
build_dir
+
"
/Testing/
"
+
dir_name
+
"
/Test.xml
"
if
not
os
.
path
.
exists
(
test_xml
):
raise
RuntimeError
(
"
Couldn
'
t find %s
"
%
test_xml
)
xsl
=
"""
<xsl:stylesheet xmlns:xsl=
"
http://www.w3.org/1999/XSL/Transform
"
version=
"
1.0
"
>
<xsl:output method=
"
xml
"
indent=
"
yes
"
/>
<xsl:template match=
"
/Site
"
>
<testsuite>
<xsl:variable name=
"
BuildName
"
><xsl:value-of select=
"
@BuildName
"
/></xsl:variable>
<xsl:variable name=
"
BuildStamp
"
><xsl:value-of select=
"
@BuildStamp
"
/></xsl:variable>
<xsl:variable name=
"
Name
"
><xsl:value-of select=
"
@Name
"
/></xsl:variable>
<xsl:variable name=
"
Generator
"
><xsl:value-of select=
"
@Generator
"
/></xsl:variable>
<xsl:variable name=
"
CompilerName
"
><xsl:value-of select=
"
@CompilerName
"
/></xsl:variable>
<xsl:variable name=
"
OSName
"
><xsl:value-of select=
"
@OSName
"
/></xsl:variable>
<xsl:variable name=
"
Hostname
"
><xsl:value-of select=
"
@Hostname
"
/></xsl:variable>
<xsl:variable name=
"
OSRelease
"
><xsl:value-of select=
"
@OSRelease
"
/></xsl:variable>
<xsl:variable name=
"
OSVersion
"
><xsl:value-of select=
"
@OSVersion
"
/></xsl:variable>
<xsl:variable name=
"
OSPlatform
"
><xsl:value-of select=
"
@OSPlatform
"
/></xsl:variable>
<xsl:variable name=
"
Is64Bits
"
><xsl:value-of select=
"
@Is64Bits
"
/></xsl:variable>
<xsl:variable name=
"
VendorString
"
><xsl:value-of select=
"
@VendorString
"
/></xsl:variable>
<xsl:variable name=
"
VendorID
"
><xsl:value-of select=
"
@VendorID
"
/></xsl:variable>
<xsl:variable name=
"
FamilyID
"
><xsl:value-of select=
"
@FamilyID
"
/></xsl:variable>
<xsl:variable name=
"
ModelID
"
><xsl:value-of select=
"
@ModelID
"
/></xsl:variable>
<xsl:variable name=
"
ProcessorCacheSize
"
><xsl:value-of select=
"
@ProcessorCacheSize
"
/></xsl:variable>
<xsl:variable name=
"
NumberOfLogicalCPU
"
><xsl:value-of select=
"
@NumberOfLogicalCPU
"
/></xsl:variable>
<xsl:variable name=
"
NumberOfPhysicalCPU
"
><xsl:value-of select=
"
@NumberOfPhysicalCPU
"
/></xsl:variable>
<xsl:variable name=
"
TotalVirtualMemory
"
><xsl:value-of select=
"
@TotalVirtualMemory
"
/></xsl:variable>
<xsl:variable name=
"
TotalPhysicalMemory
"
><xsl:value-of select=
"
@TotalPhysicalMemory
"
/></xsl:variable>
<xsl:variable name=
"
LogicalProcessorsPerPhysical
"
>
<xsl:value-of select=
"
@LogicalProcessorsPerPhysical
"
/>
</xsl:variable>
<xsl:variable name=
"
ProcessorClockFrequency
"
>
<xsl:value-of select=
"
@ProcessorClockFrequency
"
/>
</xsl:variable>
<properties>
<property name=
"
BuildName
"
value=
"
{$BuildName}
"
/>
<property name=
"
BuildStamp
"
value=
"
{$BuildStamp}
"
/>
<property name=
"
Name
"
value=
"
{$Name}
"
/>
<property name=
"
Generator
"
value=
"
{$Generator}
"
/>
<property name=
"
CompilerName
"
value=
"
{$CompilerName}
"
/>
<property name=
"
OSName
"
value=
"
{$OSName}
"
/>
<property name=
"
Hostname
"
value=
"
{$Hostname}
"
/>
<property name=
"
OSRelease
"
value=
"
{$OSRelease}
"
/>
<property name=
"
OSVersion
"
value=
"
{$OSVersion}
"
/>
<property name=
"
OSPlatform
"
value=
"
{$OSPlatform}
"
/>
<property name=
"
Is64Bits
"
value=
"
{$Is64Bits}
"
/>
<property name=
"
VendorString
"
value=
"
{$VendorString}
"
/>
<property name=
"
VendorID
"
value=
"
{$VendorID}
"
/>
<property name=
"
FamilyID
"
value=
"
{$FamilyID}
"
/>
<property name=
"
ModelID
"
value=
"
{$ModelID}
"
/>
<property name=
"
ProcessorCacheSize
"
value=
"
{$ProcessorCacheSize}
"
/>
<property name=
"
NumberOfLogicalCPU
"
value=
"
{$NumberOfLogicalCPU}
"
/>
<property name=
"
NumberOfPhysicalCPU
"
value=
"
{$NumberOfPhysicalCPU}
"
/>
<property name=
"
TotalVirtualMemory
"
value=
"
{$TotalVirtualMemory}
"
/>
<property name=
"
TotalPhysicalMemory
"
value=
"
{$TotalPhysicalMemory}
"
/>
<property name=
"
LogicalProcessorsPerPhysical
"
value=
"
{$LogicalProcessorsPerPhysical}
"
/>
<property name=
"
ProcessorClockFrequency
"
value=
"
{$ProcessorClockFrequency}
"
/>
</properties>
<xsl:apply-templates select=
"
Testing/Test
"
/>
<system-out>
BuildName: <xsl:value-of select=
"
$BuildName
"
/>
BuildStamp: <xsl:value-of select=
"
$BuildStamp
"
/>
Name: <xsl:value-of select=
"
$Name
"
/>
Generator: <xsl:value-of select=
"
$Generator
"
/>
CompilerName: <xsl:value-of select=
"
$CompilerName
"
/>
OSName: <xsl:value-of select=
"
$OSName
"
/>
Hostname: <xsl:value-of select=
"
$Hostname
"
/>
OSRelease: <xsl:value-of select=
"
$OSRelease
"
/>
OSVersion: <xsl:value-of select=
"
$OSVersion
"
/>
OSPlatform: <xsl:value-of select=
"
$OSPlatform
"
/>
Is64Bits: <xsl:value-of select=
"
$Is64Bits
"
/>
VendorString: <xsl:value-of select=
"
$VendorString
"
/>
VendorID: <xsl:value-of select=
"
$VendorID
"
/>
FamilyID: <xsl:value-of select=
"
$FamilyID
"
/>
ModelID: <xsl:value-of select=
"
$ModelID
"
/>
ProcessorCacheSize: <xsl:value-of select=
"
$ProcessorCacheSize
"
/>
NumberOfLogicalCPU: <xsl:value-of select=
"
$NumberOfLogicalCPU
"
/>
NumberOfPhysicalCPU: <xsl:value-of select=
"
$NumberOfPhysicalCPU
"
/>
TotalVirtualMemory: <xsl:value-of select=
"
$TotalVirtualMemory
"
/>
TotalPhysicalMemory: <xsl:value-of select=
"
$TotalPhysicalMemory
"
/>
LogicalProcessorsPerPhysical: <xsl:value-of select=
"
$LogicalProcessorsPerPhysical
"
/>
ProcessorClockFrequency: <xsl:value-of select=
"
$ProcessorClockFrequency
"
/>
</system-out>
</testsuite>
</xsl:template>
<xsl:template match=
"
Testing/Test
"
>
<xsl:variable name=
"
testcasename
"
><xsl:value-of select=
"
Name
"
/></xsl:variable>
<xsl:variable name=
"
exectime
"
>
<xsl:for-each select=
"
Results/NamedMeasurement
"
>
<xsl:if test=
"
@name =
'
Execution Time
'"
>
<xsl:value-of select=
"
.
"
/>
</xsl:if>
</xsl:for-each>
</xsl:variable>
<testcase name=
"
{$testcasename}
"
classname=
"
TestSuite
"
time=
"
{$exectime}
"
>
<xsl:if test=
"
@Status =
'
passed
'"
>
</xsl:if>
<xsl:if test=
"
@Status =
'
failed
'"
>
<xsl:variable name=
"
failtype
"
>
<xsl:for-each select=
"
Results/NamedMeasurement
"
>
<xsl:if test=
"
@name =
'
Exit Code
'"
>
<xsl:value-of select=
"
.
"
/>
</xsl:if>
</xsl:for-each>
</xsl:variable>
<xsl:variable name=
"
failcode
"
>
<xsl:for-each select=
"
Results/NamedMeasurement
"
>
<xsl:if test=
"
@name =
'
Exit Value
'"
>
<xsl:value-of select=
"
.
"
/>
</xsl:if>
</xsl:for-each>
</xsl:variable>
<error message=
"
{$failtype} ({$failcode})
"
>
<xsl:value-of select=
"
Results/Measurement/Value/text()
"
/>
</error>
</xsl:if>
<xsl:if test=
"
@Status =
'
notrun
'"
>
<skipped><xsl:value-of select=
"
Results/Measurement/Value/text()
"
/></skipped>
</xsl:if>
</testcase>
</xsl:template>
</xsl:stylesheet>
"""
xml_doc
=
etree
.
parse
(
test_xml
)
xslt_root
=
etree
.
XML
(
xsl
)
transform
=
etree
.
XSLT
(
xslt_root
)
result_tree
=
transform
(
xml_doc
)
return
result_tree
if
__name__
==
"
__main__
"
:
print
(
process
(
sys
.
argv
[
1
]))
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