Skip to content

Commit

Permalink
fix: MacOS releases should target aarch64 targets
Browse files Browse the repository at this point in the history
  • Loading branch information
yanliu38 committed Jan 25, 2025
1 parent 238003f commit 3bdb0c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
binary_name: dc
asset_name: decent-cloud-linux-amd64
- os: macos-latest
target: x86_64-apple-darwin
target: aarch64-apple-darwin
binary_name: dc
asset_name: decent-cloud-darwin-amd64
asset_name: decent-cloud-darwin-arm64
- os: ubuntu-20.04
target: x86_64-pc-windows-gnu
binary_name: dc.exe
Expand Down
6 changes: 5 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[toolchain]
channel = "nightly"
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
targets = [
"x86_64-unknown-linux-gnu",
"wasm32-unknown-unknown",
"aarch64-apple-darwin",
]
components = ["rust-analyzer"]
#profile = "minimal"

0 comments on commit 3bdb0c1

Please sign in to comment.