Skip to content

[feature/add-ios-ci-script] Add iOS CI Script #3

[feature/add-ios-ci-script] Add iOS CI Script

[feature/add-ios-ci-script] Add iOS CI Script #3

Workflow file for this run

name: iOS Build
on:
push:
branches: [ "main" ]
pull_request:
jobs:
build-ios:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: zulu
cache: gradle
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 'latest-stable'
- uses: hendrikmuhs/ccache-action@v1
name: Xcode Compile Cache
with:
key: ${{ runner.os }}-v2 # makes a unique key w/related restore key internally
max-size: 1500M
- name: Run xcodebuild
run: |
cd sample/ios
xcodebuild -scheme peekaboo -sdk iphoneSimulator