-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
33 lines (31 loc) 路 1.52 KB
/
Copy pathdist-workspace.toml
File metadata and controls
33 lines (31 loc) 路 1.52 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
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.28.7"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew"]
# Homebrew tap that receives the generated formula on each release. Publishing
# needs a HOMEBREW_TAP_TOKEN repo secret with contents:write on the tap repo.
tap = "fixture-dev/homebrew-tap"
# Publish via our own .github/workflows/homebrew-tap.yml rather than dist's
# built-in homebrew job, which is broken upstream (astral-sh/cargo-dist#29):
# it sets persist-credentials: false on the tap checkout but then relies on
# those credentials for its final `git push`. Owning the job keeps release.yml
# fully generated, so dist's up-to-date check stays enabled.
publish-jobs = ["./homebrew-tap"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
# dist 0.28 defaults Mac builds to the retired macos-13 runner, whose jobs
# queue forever. Build both Mac targets on macos-14 (Apple Silicon); the
# x86_64 binary is cross-compiled, which is fully supported for Mac targets.
[dist.github-custom-runners]
x86_64-apple-darwin = "macos-14"
aarch64-apple-darwin = "macos-14"