Update ci.yaml

This commit is contained in:
AppFlowy.IO 2021-11-23 16:54:40 +08:00 committed by GitHub
parent 1ee5a9402b
commit 7288224c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ on:
branches: [main]
pull_request:
branches: [main]
jobs:
jobs:
build-macos:
runs-on: macOS-latest
steps:
@ -16,6 +16,15 @@ jobs:
run: cd frontend/rust-lib && cargo test
- name: Run shared-lib tests
run: cd shared-lib && cargo test
- name: Deps
run: |
cd frontend
cargo install --force cargo-make
cargo install --force duckscript_cli
cargo make flowy_dev
- name: Build
run: |
cargo make --profile production-desktop-mac-x86 appflowy
build-ubuntu:
runs-on: ubuntu-latest
steps:
@ -48,4 +57,6 @@ jobs:
cargo install --force cargo-make
cargo install --force duckscript_cli
cargo make flowy_dev
cargo make -p development-linux-x86 appflowy-linux-dev
- name: Build
run: |
cargo make --profile production-desktop-linux-x86 appflowy