mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
fix: build flowy sdk
This commit is contained in:
parent
a0f064b15e
commit
3105f30ea6
2 changed files with 12 additions and 6 deletions
16
.github/workflows/dart_lint.yml
vendored
16
.github/workflows/dart_lint.yml
vendored
|
@ -25,6 +25,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
flutter-version: '3.0.0'
|
flutter-version: '3.0.0'
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: 'stable-2022-01-20'
|
||||||
|
|
||||||
- name: Rust Deps
|
- name: Rust Deps
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
|
@ -32,18 +35,21 @@ jobs:
|
||||||
cargo install cargo-make
|
cargo install cargo-make
|
||||||
cargo make flowy_dev
|
cargo make flowy_dev
|
||||||
|
|
||||||
- name: Build FlowySDK
|
- name: Flutter Deps
|
||||||
working-directory: frontend
|
|
||||||
run: |
|
|
||||||
cargo make --profile development-linux-x86 flowy-sdk-dev
|
|
||||||
- name: Deps Flutter
|
|
||||||
run: flutter packages pub get
|
run: flutter packages pub get
|
||||||
working-directory: frontend/app_flowy
|
working-directory: frontend/app_flowy
|
||||||
|
|
||||||
- name: Code Generation
|
- name: Code Generation
|
||||||
working-directory: frontend/app_flowy
|
working-directory: frontend/app_flowy
|
||||||
run: |
|
run: |
|
||||||
flutter packages pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
flutter packages pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations -s en.json
|
||||||
flutter packages pub run build_runner build --delete-conflicting-outputs
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|
||||||
|
|
||||||
|
- name: Build FlowySDK
|
||||||
|
working-directory: frontend
|
||||||
|
run: |
|
||||||
|
cargo make --profile development-linux-x86 flowy-sdk-dev
|
||||||
|
|
||||||
- name: Run Flutter Analyzer
|
- name: Run Flutter Analyzer
|
||||||
working-directory: frontend/app_flowy
|
working-directory: frontend/app_flowy
|
||||||
run: flutter analyze
|
run: flutter analyze
|
||||||
|
|
2
.github/workflows/dart_test.yml
vendored
2
.github/workflows/dart_test.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
||||||
shared-lib/target
|
shared-lib/target
|
||||||
key: ${{ runner.os }}-rust-rust-lib-share-lib-${{ steps.rust_toolchain.outputs.rustc_hash }}-${{ hashFiles('./frontend/rust-lib/Cargo.toml') }}
|
key: ${{ runner.os }}-rust-rust-lib-share-lib-${{ steps.rust_toolchain.outputs.rustc_hash }}-${{ hashFiles('./frontend/rust-lib/Cargo.toml') }}
|
||||||
|
|
||||||
- name: Deps Flutter
|
- name: Flutter Deps
|
||||||
working-directory: frontend/app_flowy
|
working-directory: frontend/app_flowy
|
||||||
run: |
|
run: |
|
||||||
flutter config --enable-linux-desktop
|
flutter config --enable-linux-desktop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue