Repository navigation
95 lines (83 loc) · 2.4 KB
/
Copy pathtest.yml
File metadata and controls
95 lines (83 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
name: verification
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
concurrency:
group: ${ {github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{github.event_name == 'pull_request'}}
permissions:
contents: read
jobs:
#############################################
# ubuntu-lts-26.04 with gcc, deal.II master #
#############################################
ubuntu-lts-2604-dealii-master-release:
name: tests-release-deal.II-master
runs-on: [ubuntu-latest]
container:
options: --user root
image: dealii/dealii:master-resolute
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: info
run: |
g++ -v
cmake --version
- name: configure release
run: |
mkdir build-release
cd build-release
cmake -DWITH_OPENMP=on ..
- name: build release
run: |
cd build-release
make VERBOSE=1 -j2
- name: test release
run: |
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
cd build-release
# skip a number of expensive verification tests:
ctest --output-on-failure -j2 -VV -E \
"(verification-isentropic_vortex.*l7|verification-becker_solution.*l7)"
#############################################
# ubuntu-lts-26.04 with gcc, deal.II master #
#############################################
ubuntu-lts-2604-dealii-master-debug:
name: tests-debug-deal.II-master
runs-on: [ubuntu-latest]
container:
options: --user root
image: dealii/dealii:master-resolute
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: info
run: |
g++ -v
cmake --version
- name: configure debug
run: |
mkdir build-debug
cd build-debug
cmake -DWITH_OPENMP=on -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG="-O2" ..
- name: build debug
run: |
cd build-debug
make VERBOSE=1 -j2
- name: test debug
run: |
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
cd build-debug
# skip a number of expensive verification tests:
ctest --output-on-failure -j2 -VV -E \
"(verification-isentropic_vortex.*l7|verification-becker_solution.*l7)"