Speed up iOS incremental builds by shrinking the exported Obj-C API #766
Workflow file for this run
This file contains hidden or 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 CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ main ] | |
| # Cancel superseded runs for the same PR/branch | |
| concurrency: | |
| group: ios-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| timeout-minutes: 45 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-java@v6 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 24 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Cache Kotlin/Native (konan) | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.konan | |
| key: ${{ runner.os }}-konan-${{ hashFiles('**/libs.versions.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-konan- | |
| - name: Set Xcode Version 26.3 | |
| shell: bash | |
| run: | | |
| xcodes select 26.3 | |
| - name: Build iOS app | |
| run: xcodebuild -allowProvisioningUpdates -workspace iosApp/iosApp.xcodeproj/project.xcworkspace -configuration Debug -scheme iosApp -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' |