ci: Add debug builds for android and web

This commit is contained in:
Krille 2023-07-14 18:28:43 +09:00
parent 1308400bb6
commit 23ee4f1dc6
No known key found for this signature in database

View file

@ -27,3 +27,31 @@ jobs:
run: git apply ./scripts/enable-android-google-services.patch
- run: flutter analyze
- run: flutter test
build_debug_apk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ env.JAVA_VERSION }}
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- run: flutter pub get
- run: flutter build apk --debug
build_debug_web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{ env.JAVA_VERSION }}
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
- run: flutter pub get
- name: Prepare web
run: ./scripts/prepare-web.sh
- run: flutter build web