update hello_imgui_api.md #550
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Download sdl | |
run: ./tools/sdl_download.sh | |
- name: Configure | |
run: | | |
mkdir build-ios | |
cd build-ios | |
cmake .. \ | |
-GXcode \ | |
-DCMAKE_TOOLCHAIN_FILE=../hello_imgui_cmake/ios-cmake/ios.toolchain.cmake \ | |
-DHELLOIMGUI_USE_SDL_OPENGL3=ON \ | |
-DPLATFORM=SIMULATOR64 | |
- name: Build for simulator | |
working-directory: build-ios | |
run: | | |
xcodebuild -configuration Release -project HelloImGui.xcodeproj -target ALL_BUILD -arch x86_64 -sdk iphonesimulator |