iOS Module Generation #4
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: Kotlin test workflow | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
- run: ./gradlew build | |
working-directory: kotlin | |
build-example-project: | |
name: Build example KMP project | |
runs-on: macos-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
- run: ./gradlew build | |
working-directory: example/android | |
build-ios-example-flutter-plugin-example-app: | |
name: Build example iOS app for the Flutter plugin of the example KMP project | |
runs-on: macos-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
- run: flutter build ios --no-codesign | |
working-directory: example/flutter/example | |
build-android-example-flutter-plugin-example-app: | |
name: Build example Android app for the Flutter plugin of the example KMP project | |
runs-on: ubuntu-latest | |
timeout-minutes: 45 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: "17" | |
- run: flutter build apk --no-codesign | |
working-directory: example/flutter/example |