Skip to content

Commit 2167483

Browse files
committed
feat: windows arm64 new compilation target
Removing auto-updater since windows arm64 can not compile it. Not an issue since `bt self update` exists
1 parent 49777b2 commit 2167483

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

dist-workspace.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ members = ["cargo:."]
33

44
# Config for 'dist'
55
[dist]
6+
# Skip checking whether the specified configuration files are up to date
7+
allow-dirty = ["ci"]
68
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
79
cargo-dist-version = "0.31.0"
810
# CI backends to support
@@ -11,21 +13,20 @@ ci = "github"
1113
create-release = true
1214
# Which actions to run on pull requests
1315
pr-run-mode = "plan"
14-
# Skip checking whether the specified configuration files are up to date
15-
allow-dirty = ["ci"]
1616
ssldotcom-windows-sign = "test"
1717
# The installers to generate for each app
1818
installers = ["shell", "powershell", "homebrew"]
1919
homepage = "https://github.com/braintrustdata/bt"
2020
# Target platforms to build apps for (Rust target-triple syntax)
21-
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
21+
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
22+
# Path that installers should place binaries in
23+
install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"]
24+
25+
[dist.github-custom-runners]
26+
aarch64-pc-windows-msvc = "windows-11-arm"
2227
# The archive format to use for non-windows builds (defaults .tar.xz)
2328
unix-archive = ".tar.gz"
2429
# The archive format to use for windows builds (defaults .zip)
2530
windows-archive = ".zip"
26-
# Path that installers should place binaries in
27-
install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"]
28-
# Whether to install an updater program
29-
install-updater = true
3031
# Custom message to display on successful install
3132
install-success-msg = ""

0 commit comments

Comments
 (0)