From 5b343e431b5b826a30969ef4edf9d7e48cc66cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asc=C3=AAnio=20Sanderson?= Date: Sun, 7 Jul 2024 00:24:52 -0300 Subject: [PATCH] ci: validate build on Android and iOS --- .github/workflows/main.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 43d932d..420f492 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -41,3 +41,29 @@ jobs: flutter-version: 3.19.4 - name: Run tests run: flutter test + + building-android: + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v4 + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + channel: stable + flutter-version: 3.19.4 + - name: Generates appbundle + run: flutter build appbundle + + building-ios: + runs-on: macos-latest + steps: + - name: Clone repository + uses: actions/checkout@v4 + - name: Set up Flutter + uses: subosito/flutter-action@v2 + with: + channel: stable + flutter-version: 3.19.4 + - name: Generates appbundle + run: flutter build ios --no-codesign