Skip to content

Flutter Build CI

Flutter Build CI #12

Workflow file for this run

name: Flutter Build CI
on: [pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.x"
- name: Disable Google Analytics
run: flutter config --no-analytics
- name: Install dependencies
run: flutter pub get
- name: Enable desktop support
run: flutter config --enable-linux-desktop
- name: Build debug Android APK
run: flutter build apk --flavor base --debug
- name: Install Linux dependencies
run: sudo apt update && sudo apt install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libjsoncpp25 libsecret-1-dev libsecret-1-0 librhash0 libsqlite3-dev libappindicator3-dev gettext -y
- name: Build debug Linux binary
run: flutter build linux --debug