Skip to content

Commit

Permalink
create_AVDs: add script to create standard AVDs
Browse files Browse the repository at this point in the history
  • Loading branch information
wfleischer committed Jan 9, 2025
1 parent 2aadbe4 commit c50a3bb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- run: flutter --version
- run: flutter pub get
- run: ./gen-i10n.sh
- run: ./gen_i10n.sh
- run: flutter build apk
- run: flutter build appbundle

Expand All @@ -57,7 +57,7 @@ jobs:

- run: flutter --version
- run: flutter pub get
- run: ./gen-i10n.sh
- run: ./gen_i10n.sh
- run: flutter build ios --release --no-codesign

- uses: actions/upload-artifact@v4
Expand All @@ -76,7 +76,7 @@ jobs:
channel: 'stable'
- run: flutter --version
- run: flutter pub get
- run: ./gen-i10n.sh
- run: ./gen_i10n.sh
- run: flutter build web

- uses: actions/upload-artifact@v4
Expand All @@ -95,7 +95,7 @@ jobs:
channel: 'stable'
- run: flutter --version
- run: flutter pub get
- run: cmd /c win-gen-i10n.bat
- run: cmd /c win-gen_i10n.bat
- run: flutter config --enable-windows-desktop
- run: flutter build windows

Expand All @@ -119,7 +119,7 @@ jobs:
sudo apt-get install -y ninja-build libgtk-3-dev
- run: flutter --version
- run: flutter pub get
- run: ./gen-i10n.sh
- run: ./gen_i10n.sh
- run: flutter config --enable-linux-desktop
- run: flutter build linux

Expand All @@ -141,7 +141,7 @@ jobs:

- run: flutter --version
- run: flutter pub get
- run: ./gen-i10n.sh
- run: ./gen_i10n.sh
- run: flutter config --enable-macos-desktop
- run: flutter build macos

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
with:
channel: stable

- run: ./gen-i10n.sh
- run: ./gen_i10n.sh
- run: flutter test integration_test --timeout 2x
12 changes: 12 additions & 0 deletions create_AVDs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

avdmanager list

avdmanager create avd -n pixel_6_pro -k "system-images;android-31;google_apis_playstore;arm64-v8a" -d pixel_6_pro
avdmanager create avd -n foldable_8_in -k "system-images;android-31;google_apis_playstore;arm64-v8a" -d "8in Foldable"
avdmanager create avd -n tablet_7_in -k "system-images;android-31;google_apis_playstore;arm64-v8a" -d "7in WSVGA (Tablet)"

# The ratio is not accepted as 10" tablet screenshots in the Play Store.
# avdmanager create avd -n tablet_10_in -k "system-images;android-31;google_apis_playstore;arm64-v8a" -d "10.1in WXGA (Tablet)"
# Use this for the 10" tablet screenshots.
avdmanager create avd -n tablet_13_5_in -k "system-images;android-31;google_apis_playstore;arm64-v8a" -d "13.5in Freeform"

File renamed without changes.

0 comments on commit c50a3bb

Please sign in to comment.