mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Merge pull request #92 from pratikbalar/patch-2
This commit is contained in:
commit
08de5da716
31
.github/workflows/ci.yaml
vendored
31
.github/workflows/ci.yaml
vendored
@ -17,35 +17,42 @@ jobs:
|
|||||||
rustup toolchain install nightly
|
rustup toolchain install nightly
|
||||||
rustup default nightly
|
rustup default nightly
|
||||||
- name: Frontend tests
|
- name: Frontend tests
|
||||||
run: cd frontend/rust-lib && cargo test
|
working-directory: frontend/rust-lib
|
||||||
|
run: cargo test
|
||||||
- name: Shared-lib tests
|
- name: Shared-lib tests
|
||||||
run: cd shared-lib && cargo test
|
working-directory: shared-lib
|
||||||
|
run: cargo test
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Env install
|
- name: Env install
|
||||||
run: cd frontend && make install_rust
|
working-directory: frontend
|
||||||
|
run: make install_rust
|
||||||
|
- name: Checkou Flutter
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
repository: flutter/flutter
|
||||||
|
path: flutter
|
||||||
- name: Flutter
|
- name: Flutter
|
||||||
|
working-directory: flutter
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 -b dev https://github.com/flutter/flutter.git
|
echo "$(pwd)/bin" >> $GITHUB_PATH
|
||||||
cd flutter
|
export PATH="$PATH:$(pwd)/bin"
|
||||||
echo `pwd`"/bin" >> $GITHUB_PATH
|
|
||||||
export PATH="$PATH:`pwd`/bin"
|
|
||||||
flutter channel dev
|
flutter channel dev
|
||||||
flutter config --enable-macos-desktop
|
flutter config --enable-macos-desktop
|
||||||
flutter doctor
|
flutter doctor
|
||||||
- name: Deps
|
- name: Deps
|
||||||
|
working-directory: frontend
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
|
||||||
cargo install --force cargo-make
|
cargo install --force cargo-make
|
||||||
cargo install --force duckscript_cli
|
cargo install --force duckscript_cli
|
||||||
cargo make flowy_dev
|
cargo make flowy_dev
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
working-directory: frontend
|
||||||
cd frontend
|
run: cargo make --profile production-mac-x86 appflowy
|
||||||
cargo make --profile production-mac-x86 appflowy
|
|
||||||
build-ubuntu:
|
build-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -73,8 +80,8 @@ jobs:
|
|||||||
flutter config --enable-linux-desktop
|
flutter config --enable-linux-desktop
|
||||||
flutter doctor
|
flutter doctor
|
||||||
- name: Deps
|
- name: Deps
|
||||||
|
working-directory: frontend
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
|
||||||
cargo install --force cargo-make
|
cargo install --force cargo-make
|
||||||
cargo install --force duckscript_cli
|
cargo install --force duckscript_cli
|
||||||
cargo make flowy_dev
|
cargo make flowy_dev
|
||||||
|
Loading…
Reference in New Issue
Block a user