Skip to content

chore: remove support for Android 4 #365

chore: remove support for Android 4

chore: remove support for Android 4 #365

Workflow file for this run

name: linux
on:
push:
pull_request:
workflow_dispatch:
env:
flutter_version: '3.16.0'
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Flutter environment
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
- name: Install dependencies
run: flutter pub get
- name: Building generated source code
run: dart run build_runner build
- name: Analyze code
run: flutter analyze .
- name: Run tests
run: flutter test --no-pub -r expanded
- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
- name: Configure Flutter for Linux
run: flutter config --enable-linux-desktop
- name: Build Linux application (debug)
run: flutter build linux --debug
- name: Archive debug build
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v2
with:
name: linux-bundle-debug
path: build/linux/x64/debug/bundle/
- name: Build Linux application (release)
run: flutter build linux --release
- name: Archive release build
if: github.ref_type == 'tag'
uses: actions/upload-artifact@v2
with:
name: linux-bundle-release
path: build/linux/x64/release/bundle/