-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (51 loc) · 1.53 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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