-
-
Notifications
You must be signed in to change notification settings - Fork 76
47 lines (36 loc) · 1.04 KB
/
macos.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
name: macOS
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
build-and-test:
name: "build & test"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-11, macos-12, macos-13]
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v4
- name: First Generation Build
run: make
- name: Test the first generation
run: make test
- name: Second Generation Build
run: ./build-out/poac build --verbose
- name: Test the second generation
run: ./poac-out/debug/poac help
- name: Third Generation Build
run: ./poac-out/debug/poac build --verbose --release
- name: Test the third generation
run: ./poac-out/release/poac help
# - name: Test Poac
# run: ctest --output-on-failure --verbose
# working-directory: build