Browse Source

Update ci.yaml

AppFlowy.IO 3 years ago
parent
commit
7288224c3e
1 changed files with 13 additions and 2 deletions
  1. 13 2
      .github/workflows/ci.yaml

+ 13 - 2
.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