-
Notifications
You must be signed in to change notification settings - Fork 6
54 lines (45 loc) · 1.07 KB
/
tests.yml
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
name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
debug:
runs-on: ubuntu-latest
container:
image: heltai/dealii:vscode
options: --user root
steps:
- uses: actions/checkout@v3
- name: Build debug
run: |
rm -rf build_linux_debug
mkdir build_linux_debug
cd build_linux_debug
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug
ninja
- name: CTest debug
run: |
cd build_linux_debug
ctest -N
ctest --output-on-failure
release:
runs-on: ubuntu-latest
container:
image: heltai/dealii:vscode
options: --user root
steps:
- uses: actions/checkout@v3
- name: Build release
run: |
rm -rf build_linux_release
mkdir build_linux_release
cd build_linux_release
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
ninja
- name: CTest release
run: |
cd build_linux_release
ctest -N
ctest --output-on-failure