Skip to content

Commit

Permalink
ci: Add build jobs for android & linux
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Nov 29, 2024
1 parent 5e11d5f commit 606d4b9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-apps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build apps
on: [push]
jobs:
build-linux:
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
- run: flutter build linux
build-android:
runs-on: ubuntu-24.04
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.19.0
- run: flutter pub get
- run: flutter test
- run: flutter build apk
- run: flutter build appbundle

0 comments on commit 606d4b9

Please sign in to comment.