-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 801 Bytes
/
Copy pathci.yaml
File metadata and controls
35 lines (32 loc) · 801 Bytes
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
name: CI
on:
pull_request:
push:
branches: [main]
jobs:
flutter:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: 3.44.6
cache: true
- run: flutter pub get
- run: dart format --set-exit-if-changed .
- run: flutter analyze
- run: flutter test
- run: flutter build apk --debug
- run: flutter build appbundle --release
ios:
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: 3.44.6
cache: true
- run: flutter pub get
- run: flutter build ios --release --no-codesign