-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (29 loc) · 985 Bytes
/
ios.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
name: iOS
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
toolsets: [
{host: [macOS, ARM64, self-hosted], preset: arm64-ios-ninja-llvm},
# Not doing iOS xcode builds until we can figure out signing
#{host: [macOS, ARM64, self-hosted], preset: arm64-ios-xcode-llvm},
]
name: ${{matrix.toolsets.preset}} on ${{matrix.toolsets.host[0]}}
runs-on: ${{matrix.toolsets.host}}
steps:
- uses: actions/checkout@v3
- name: Configure
run: cmake --preset ${{matrix.toolsets.preset}} -DCOOK_ASSETS=OFF
- name: Build Debug
run: cmake --build --preset debug-${{matrix.toolsets.preset}}
- name: Build RelWithDebInfo
run: cmake --build --preset relwithdebinfo-${{matrix.toolsets.preset}}
- name: Build Release
run: cmake --build --preset release-${{matrix.toolsets.preset}}