-
Notifications
You must be signed in to change notification settings - Fork 39
37 lines (35 loc) · 884 Bytes
/
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
name: macOS
on:
push:
branches: [ release, next ]
pull_request:
branches: [ release, next ]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os:
- macos-latest
- macos-11
- macos-12
- macos-13
cxx_compiler:
- clang++
install_location:
- .local
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- uses: actions/cache@v3
with:
path: |
${{github.workspace}}/${{matrix.install_location}}
${{github.workspace}}/out
key: macos-${{runner.os}}-${{matrix.os}}-dependencies
- run: |
tool/build --verbose --no-run
ls -al out/this/Debug
ls -al out/this/Release
- run: tool/build --verbose --no-build
- run: tool/test/all || tool/test/all