-
Notifications
You must be signed in to change notification settings - Fork 140
41 lines (33 loc) · 953 Bytes
/
ci_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
39
40
41
name: Apple iOS
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build_ios:
strategy:
matrix:
config: [Release, Debug]
fail-fast: false
runs-on: macos-latest
env:
DEPLOYMENT_TARGET: 13.0
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure CMake
run: >
cmake -S . -B ${{github.workspace}}/iOS-arm64
-DCMAKE_SYSTEM_NAME=iOS
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"
-DCMAKE_OSX_DEPLOYMENT_TARGET=${{ env.DEPLOYMENT_TARGET }}
-DCMAKE_IOS_INSTALL_COMBINED=ON
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
-DLLGL_BUILD_RENDERER_OPENGLES3=ON
-DLLGL_BUILD_RENDERER_METAL=ON
-DLLGL_BUILD_EXAMPLES=OFF
- name: Build
run: cmake --build ${{github.workspace}}/iOS-arm64 --config ${{ matrix.config }}