Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_AVDs: add script to create standard AVDs #201

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading