Update Kotlin to 2.3.20 #100
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: Build Starter Blueprint (Android + iOS + WASM + Desktop) | |
| on: | |
| push: | |
| paths: | |
| - 'blueprints/starter/**' | |
| - '.github/**' | |
| tags-ignore: | |
| - '**' | |
| pull_request: | |
| paths: | |
| - 'blueprints/starter/**' | |
| - '.github/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-ios-starter-app: | |
| runs-on: macos-latest-xlarge | |
| timeout-minutes: 25 | |
| defaults: | |
| run: | |
| working-directory: blueprints/starter | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Build iOS Framework | |
| run: ./gradlew :app:linkDebugFrameworkIosSimulatorArm64 | |
| build-wasm-starter-app: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| defaults: | |
| run: | |
| working-directory: blueprints/starter | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Build WASM binary | |
| run: ./gradlew :app:wasmJsBrowserDistribution | |
| build-android-starter-app: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| defaults: | |
| run: | |
| working-directory: blueprints/starter | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Build Android | |
| run: ./gradlew :app:assembleDebug | |
| build-desktop-starter-app: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| defaults: | |
| run: | |
| working-directory: blueprints/starter | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Build Desktop binary | |
| run: ./gradlew :app:desktopMainClasses | |
| ktfmt: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| defaults: | |
| run: | |
| working-directory: blueprints/starter | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Install ktfmt | |
| run: brew install ktfmt | |
| - name: Run ktfmt | |
| run: ktfmt --google-style --dry-run --set-exit-if-changed $(find . -type f -name "*.kt") |