Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
chore: update flutter_ci.yaml
Nathan.foooe0a392db003d
diff --git a/.github/workflows/flutter_ci.yaml b/.github/workflows/flutter_ci.yamlindex 90df84a3a2..8cde94d1d6 100644--- a/.github/workflows/flutter_ci.yaml+++ b/.github/workflows/flutter_ci.yaml@@ -24,17 +24,17 @@ jobs:strategy:fail-fast: falsematrix:- job:- - { target: x86_64-unknown-linux-gnu, os: ubuntu-latest,}- - { target: x86_64-apple-darwin, os: macos-latest, }- - { target: x86_64-pc-windows-msvc, os: windows-latest, }+ os: [ubuntu-latest, macos-latest, windows-latest]include:- os: ubuntu-latestflutter_profile: development-linux-x86_64+ target: x86_64-unknown-linux-gnu- os: macos-latestflutter_profile: development-mac-x86_64+ target: x86_64-apple-darwin- os: windows-latestflutter_profile: development-windows-x86+ target: x86_64-pc-windows-msvcruns-on: ${{ matrix.os }}steps:@@ -46,9 +46,8 @@ jobs:uses: actions-rs/toolchain@v1with:toolchain: ${{ env.RUST_TOOLCHAIN }}- target: ${{ matrix.job.target }}+ target: ${{ matrix.target }}override: true- components: rustfmtprofile: minimal- name: Install flutter@@ -73,13 +72,14 @@ jobs:sudo wget -qO /etc/apt/trusted.gpg.d/dart_linux_signing_key.asc https://dl-ssl.google.com/linux/linux_signing_key.pubsudo wget -qO /etc/apt/sources.list.d/dart_stable.list https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.listsudo apt-get update- sudo apt-get install -y dart curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev+ sudo apt-get install -y dart curl build-essential libssl-dev clang cmake ninja-build pkg-config libgtk-3-devsudo apt-get install keybinder-3.0elif [ "$RUNNER_OS" == "Windows" ]; thenvcpkg integrate installelif [ "$RUNNER_OS" == "macOS" ]; thenecho 'do nothing'fi+ cargo make appflowy-deps-toolsshell: bash- name: Enable Flutter Desktop@@ -102,16 +102,12 @@ jobs:working-directory: frontend/app_flowyrun: flutter analyze- - name: Build Flutter unit test lib- working-directory: frontend- run: |- cargo make build-test-lib-- name: Run Flutter unit tests- working-directory: frontend/app_flowy+ working-directory: frontendrun: |- if [ "$RUNNER_OS" == "Linux" ]; then- flutter pub get- flutter test+ if [ "$RUNNER_OS" == "macOS" ]; then+ cargo make dart_unit_test+ elif [ "$RUNNER_OS" == "Windows" ]; then+ cargo make dart_unit_testfi- shell: bash\ No newline at end of file+ shell: bash