forked from oomph-lib/oomph-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 951 Bytes
/
self-tests-macos.yaml
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
name: macOS self-tests
on: push
jobs:
build:
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install requirements
run: brew install make automake libtool autoconf doxygen && brew reinstall gfortran
- name: Build
run: ./non_interactive_autogen.sh -c config/configure_options/default_macos -s -j$(sysctl -n hw.logicalcpu)
# Continue running even if the test fails so that the validation.log can be
# uploaded and reviewed later on
- name: Validate
id: self_tests
run: ./bin/parallel_self_test.py
continue-on-error: true
- name: Upload validation log file
uses: actions/upload-artifact@v4
with:
name: validation-${{ runner.os }}.log
path: ./validation.log
- name: Propagate self-test status
if: steps.self_tests.outcome == 'failure'
run: exit 1