Skip to content

Commit

Permalink
Update build_cross_platform.yml
Browse files Browse the repository at this point in the history
analyze
  • Loading branch information
abdelaziz-mahdy committed Dec 28, 2023
1 parent 572d074 commit 8c7bb69
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/build_cross_platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@ jobs:
channel: "stable"
cache: true
- run: flutter pub get
- run: flutter build apk --split-per-abi
# Add separate steps for each ABI
- name: Build and analyze APK for android-arm
run: flutter build apk --analyze-size --target-platform=android-arm

- name: Build and analyze APK for android-arm64
run: flutter build apk --analyze-size --target-platform=android-arm64

- name: Build and analyze APK for android-x64
run: flutter build apk --analyze-size --target-platform=android-x64
android_macos:
name: Android_macos
runs-on: macos-latest
Expand All @@ -46,8 +54,15 @@ jobs:
channel: "stable"
cache: true
- run: flutter pub get
- run: flutter build apk --split-per-abi
# Add separate steps for each ABI
- name: Build and analyze APK for android-arm
run: flutter build apk --analyze-size --target-platform=android-arm

- name: Build and analyze APK for android-arm64
run: flutter build apk --analyze-size --target-platform=android-arm64

- name: Build and analyze APK for android-x64
run: flutter build apk --analyze-size --target-platform=android-x64
ios:
name: iOS
runs-on: macos-latest
Expand Down

0 comments on commit 8c7bb69

Please sign in to comment.