Skip to content

Commit 2ef5554

Browse files
feat: add Flutter CI workflow (#18)
* feat: add Flutter CI workflow * remove workflows sub category * Update CI workflow to trigger on dev and main branches * feat: split Android and iOS CI workflows * feat: split Android and iOS CI workflows * Revert "feat: split Android and iOS CI workflows" This reverts commit 0b7d416 * Revert "feat: split Android and iOS CI workflows" * Delete .github/workflows/android_build.yml
1 parent 5b09fd3 commit 2ef5554

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Flutter CI
2+
3+
on:
4+
push:
5+
branches: [dev, main]
6+
pull_request:
7+
branches: [dev, main]
8+
jobs:
9+
build:
10+
name: App Build(android-ios)
11+
runs-on: macos-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Flutter
18+
uses: subosito/flutter-action@v2
19+
with:
20+
channel: stable
21+
22+
- name: Flutter clean
23+
run: flutter clean
24+
25+
- name: Flutter pub get
26+
run: flutter pub get
27+
28+
- name: Build Android
29+
run: flutter build apk --debug
30+
31+
- name: Build iOS (simulator)
32+
run: flutter build ios --simulator

0 commit comments

Comments
 (0)