From 7288224c3e587207561ccb61b935658ea51ce955 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Tue, 23 Nov 2021 16:54:40 +0800 Subject: [PATCH] Update ci.yaml --- .github/workflows/ci.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9faf4070f7..8057669b1f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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