-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
35 lines (33 loc) · 1.29 KB
/
dist-workspace.toml
File metadata and controls
35 lines (33 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# CI backends to support
ci = "github"
# Whether dist should create a Github Release or use an existing draft
create-release = false
github-build-setup = "build-setup.yml"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax).
# x86_64-apple-darwin is intentionally omitted: GitHub's macos-13 runner
# pool is scarce (jobs routinely queue for 30+ min), Apple stopped
# shipping Intel Macs in 2023, and Rosetta 2 runs the aarch64 binary
# transparently on the remaining Intel users. Add back only if a real
# user reports an aarch64-on-Intel regression.
targets = ["aarch64-apple-darwin", "x86_64-unknown-linux-gnu"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = true
bin-aliases = { cargo-tangle = ["tangle", "tg"] }
members = ["cargo:/cli"]
# Which actions to run on pull requests
pr-run-mode = "plan"
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.28.7-prerelease.1"
[dist.github-custom-runners]
global = "ubuntu-latest"
# Custom runners to use for each target platform
aarch64-apple-darwin = "macos-15"
x86_64-unknown-linux-gnu = "ubuntu-latest"