-
Notifications
You must be signed in to change notification settings - Fork 12
110 lines (108 loc) · 3.24 KB
/
linux.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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name: Linux
on:
push:
branches-ignore: ["candidate-install"]
jobs:
tabs:
name: Style Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Tabs
run: .github/workflows/style/check_tabs.py
editorconfig-compliance:
name: Editorconfig Compliance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: update aptitude
run: sudo apt update
- name: installing npm
run: sudo apt install npm
- name: installing eclint
run: npm install -g eclint
- name: EditorConfigCompliance
run: eclint check src/
documentation-check:
name: Make sure all inputs are documented
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: checking documentation coverage
run: python3 scripts/checkdoc.py
docs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies.sh
- name: make
run: make docs
test-2d-20-04:
name: 2D g++ Build & Test (20.04)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies.sh
- name: configure (2d)
run: ./configure --dim=2
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=2 --benchmark=github --timeout=200
test-3d-20-04:
name: 3D g++ Build & Test (20.04)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies.sh
- name: configure
run: ./configure --dim=3
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=3 --benchmark=github --timeout=200
test-2d-22-04:
name: 2D g++ Build & Test (22.04)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies.sh
- name: configure (2d)
run: ./configure --dim=2
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=2 --benchmark=github --timeout=200
test-3d-22-04:
name: 3D g++ Build & Test (22.04)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies.sh
- name: configure
run: ./configure --dim=3
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=3 --benchmark=github --timeout=200
test-2d-22-04-clang:
name: 2D Clang Build & Test (22.04)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: installing preliminaries
run: bash .github/workflows/dependencies.sh
- name: installing clang
run: sudo apt install clang
- name: configure (2d)
run: ./configure --dim=2 --comp=clang++
- name: make
run: make
- name: regression tests
run: scripts/runtests.py --serial --no-coverage --dim=2 --benchmark=github --comp=clang++ --timeout=200