-
Notifications
You must be signed in to change notification settings - Fork 43
38 lines (36 loc) · 861 Bytes
/
macos.yml
File metadata and controls
38 lines (36 loc) · 861 Bytes
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
name: macOS
on:
push:
branches: [ release, next ]
pull_request:
branches: [ release, next ]
jobs:
build:
runs-on: ${{matrix.os}}
permissions:
id-token: write
contents: read
attestations: write
strategy:
fail-fast: false
matrix:
target-double:
- apple-darwin
target-platform:
- this
os:
- macos-14
- macos-15
steps:
- uses: lukka/get-cmake@v3.29.3
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/cache@v4
with:
path: out
key: cache.${{matrix.target-double}}.${{matrix.os}}
- uses: chetan/git-restore-mtime-action@v2
- run: cmake -S . -B out -DBUILD_TESTING=ON -DBUILD_SAN=ON
- run: make -C out -j$(nproc)
- run: cd out && ctest -V