-
Notifications
You must be signed in to change notification settings - Fork 116
30 lines (25 loc) · 800 Bytes
/
iOS.yml
File metadata and controls
30 lines (25 loc) · 800 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
name: iOS
on:
push:
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Configure
run: |
mkdir build-ios
cd build-ios
cmake .. \
-GXcode \
-DCMAKE_TOOLCHAIN_FILE=../hello_imgui_cmake/ios-cmake/ios.toolchain.cmake \
-DHELLOIMGUI_USE_SDL2=ON -DHELLOIMGUI_HAS_OPENGL3=ON \
-DHELLOIMGUI_FREETYPE_STATIC=ON \
-DPLATFORM=SIMULATOR64
- name: Build for simulator
working-directory: build-ios
run: |
xcodebuild -configuration Release -project hello-imgui.xcodeproj -target ALL_BUILD -arch x86_64 -sdk iphonesimulator