-
Notifications
You must be signed in to change notification settings - Fork 2
78 lines (74 loc) · 1.76 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
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
name: MacOS
on:
push:
branches:
- '*'
tags-ignore:
- 'v*'
jobs:
build_on_mac_13:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: prepare
run: brew install ninja
- name: configure
run: |
export SDKROOT="$(xcrun --sdk macosx --show-sdk-path)"
mkdir build
cd build
cmake .. -G Ninja -DUSE_EXTRA_TEST=on
- name: build
run: |
cd build
ninja
ninja install
./arsh ../scripts/copy_mod4extra.ds
- name: test
run: |
cd build
ctest -j4 --output-on-failure
build_on_mac_14:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: prepare
run: brew install ninja
- name: configure
run: |
export SDKROOT="$(xcrun --sdk macosx --show-sdk-path)"
mkdir build
cd build
cmake .. -G Ninja -DUSE_EXTRA_TEST=on
- name: build
run: |
cd build
ninja
sudo ninja install
./arsh ../scripts/copy_mod4extra.ds
- name: test
run: |
cd build
ctest -j4 --output-on-failure
build_on_mac_15:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: prepare
run: brew install ninja
- name: configure
run: |
export SDKROOT="$(xcrun --sdk macosx --show-sdk-path)"
mkdir build
cd build
cmake .. -G Ninja -DUSE_EXTRA_TEST=on
- name: build
run: |
cd build
ninja
sudo ninja install
./arsh ../scripts/copy_mod4extra.ds
- name: test
run: |
cd build
ctest -j4 --output-on-failure