Skip to content

diff ..

diff .. #43

Workflow file for this run

name: Flutter CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
platform: [android, web, linux, windows, macos]
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: 'stable'
- run: flutter pub get
- name: Build ${{ matrix.platform }}
run: |
case "${{ matrix.platform }}" in
android) flutter build apk --release ;;
web) flutter build web --release ;;
linux) sudo apt-get update && sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev && flutter build linux --release ;;
windows) flutter build windows --release ;;
macos) flutter build macos --release ;;
esac