Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
fix(CI/CD): 修复 windows build 参数错误的问题, 修复 macOS 下 arm 没有正确触发的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
BillGoldenWater committed May 12, 2023
1 parent 77c238b commit 806dd3d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ args = ["clippy", "-r", "--target", "x86_64-pc-windows-msvc", "--", "-Dwarnings"
[tasks.ci-build]
dependencies = ["setup", "build-share", "init-frontend", "gen-ts-binding"]
install_crate = "tauri-cli"
run_task = [{ name = "ci-build-x86" }]

[tasks.ci-build.mac]
run_task = [{ name = "ci-build-x86" }, { name = "ci-build-arm" }]

[tasks.ci-build-x86.mac]
Expand All @@ -134,9 +131,13 @@ args = ["tauri", "build", "-t", "aarch64-apple-darwin"]
command = "cargo"
args = ["tauri", "build", "-t", "x86_64-unknown-linux-gnu"]

[tasks.ci-build-arm.linux]

[tasks.ci-build-x86.windows]
command = "cargo"
args = ["tauri", "build", "-t", "x86_64-pc-windows-msvc", "-b nsis"]
args = ["tauri", "build", "-t", "x86_64-pc-windows-msvc", "-b", "nsis"]

[tasks.ci-build-arm.windows]
# endregion
# endregion

Expand Down

0 comments on commit 806dd3d

Please sign in to comment.