Skip to content

fix: add missing FFI depdendency #2514

fix: add missing FFI depdendency

fix: add missing FFI depdendency #2514

name: min version test
on:
push:
branches:
- main
- release/**
pull_request:
paths-ignore:
- 'file/**'
- 'sqflite/**'
jobs:
cancel-previous-workflow:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # pin@0.11.0
with:
access_token: ${{ github.token }}
build-android:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # pin@v2.10.0
with:
flutter-version: '3.0.0'
- name: Build Android
run: |
cd min_version_test
flutter pub get
flutter build appbundle
build-ios:
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # pin@v2.10.0
with:
flutter-version: '3.0.0'
- name: Build iOS
run: |
cd min_version_test
flutter pub get
flutter build ios --no-codesign
build-web:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa # pin@v2.10.0
with:
flutter-version: '3.0.0'
- name: Build web
run: |
cd min_version_test
flutter pub get
flutter build web --source-maps