From a01bfd004441ba885a657e05854bc5aaf6756143 Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Wed, 19 Feb 2025 16:48:37 +0100 Subject: [PATCH] Add more CI --- .github/workflows/test.yml | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ba25827..264c0cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Kotlin test workflow +name: Test workflow on: [push, pull_request] jobs: build: @@ -12,9 +12,8 @@ jobs: distribution: "temurin" java-version: "17" - run: ./gradlew build - working-directory: kotlin build-example-project: - name: Build example project + name: Build example KMP project runs-on: macos-latest timeout-minutes: 45 steps: @@ -24,4 +23,28 @@ jobs: distribution: "temurin" java-version: "17" - run: ./gradlew build - working-directory: example/android \ No newline at end of file + 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 \ No newline at end of file