-
Notifications
You must be signed in to change notification settings - Fork 119
50 lines (40 loc) · 956 Bytes
/
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
name: CI-Linux
on:
push:
branches:
- master
pull_request:
branches:
- master
- development
types:
- opened
- reopened
- synchronize
- ready_for_review
paths-ignore:
- 'applications/**'
concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request'}}
permissions:
contents: read
jobs:
CI-Linux:
runs-on: [ubuntu-22.04]
container:
image: dealii/dealii:v9.6.0-jammy
options: --user root
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Compile PRISMS-PF
run: |
cmake .
make -j $(nproc)
- name: Run PRISMS-PF tests
run: |
export OMPI_ALLOW_RUN_AS_ROOT=1
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
cd tests/automatic_tests
python3 run_automatic_tests.py