Skip to content

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

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

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

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
- name: Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-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