Skip to content
Snippets Groups Projects
Commit 1d5df449 authored by Dr. Jorrit Fahlke's avatar Dr. Jorrit Fahlke
Browse files

Merge branch 'pacxx-ci' into 'master'

Run CI with PACXX

Closes #8

See merge request jfahl_01/pacxx-projectseminar-2019!11
parents f8e291b3 d4374f33
No related branches found
No related tags found
1 merge request!11Run CI with PACXX
Pipeline #19477 passed
......@@ -11,3 +11,25 @@ before_script:
- duneci-install-module https://gitlab.dune-project.org/core/dune-grid.git
- duneci-install-module https://gitlab.dune-project.org/core/dune-localfunctions.git
- duneci-install-module https://gitlab.dune-project.org/core/dune-istl.git
pacxx-native:
image: registry.dune-project.org/joe/pacxx-docker:pacxx-native.master
before_script:
- mkdir build
- git worktree prune
- branch=$(git symbolic-ref -q --short HEAD) || true
- git worktree add -f build/pacxx-projectseminar-2019 "${branch:-HEAD}"
- cd build
- git clone --depth=1 https://gitlab.dune-project.org/core/dune-common.git
- git clone --depth=1 https://gitlab.dune-project.org/core/dune-geometry.git
- git clone --depth=1 https://gitlab.dune-project.org/staging/dune-uggrid.git
- git clone --depth=1 https://gitlab.dune-project.org/core/dune-grid.git
- git clone --depth=1 https://gitlab.dune-project.org/core/dune-localfunctions.git
- git clone --depth=1 https://gitlab.dune-project.org/core/dune-istl.git
script:
- dune-common/bin/dunecontrol --opts=../ci/pacxx.opts configure
- dune-common/bin/dunecontrol --opts=../ci/pacxx.opts make -j$(nproc)
- cd pacxx-projectseminar-2019/build-cmake
- make -j$(nproc) build_tests
- ctest -j$(nproc)
tags: [duneci]
CMAKE_FLAGS="
-DCMAKE_CXX_COMPILER='pacxx++'
-DCMAKE_C_COMPILER='clang'
"
\ No newline at end of file
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