-
Notifications
You must be signed in to change notification settings - Fork 499
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
65 lines (61 loc) · 2.17 KB
/
dist-workspace.toml
File metadata and controls
65 lines (61 loc) · 2.17 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# Build one binary, see: https://axodotdev.github.io/cargo-dist/book/reference/config.html?highlight=binaries#inferring-precise-builds
precise-builds = true
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "1.0.0-rc.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["msi"]
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".zip"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"riscv64gc-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
]
# Whether CI should trigger releases with dispatches instead of tag pushes
dispatch-releases = true
# Which phase dist should use to create the GitHub release
github-release = "announce"
# Whether to auto-include files like READMEs, LICENSEEs, and CHANGELOGs (default true)
auto-includes = false
# Whether to place binaries in the root of the archive
binaries-in-root = true
# Which actions to run on pull requests
pr-run-mode = "skip"
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["msi", "ci"]
# Whether to sign macOS executables
macos-sign = true
# Features to pass to cargo build
features = ["self_update", "performance"]
[dist.github-custom-runners]
# macOS targets
aarch64-apple-darwin = "macos-latest"
x86_64-apple-darwin = "macos-latest"
# Windows targets
aarch64-pc-windows-msvc = "windows_x64_2025_large"
x86_64-pc-windows-msvc = "windows_x64_2025_large"
# Linux targets
aarch64-unknown-linux-musl = "8core_ubuntu_latest_runner"
riscv64gc-unknown-linux-gnu = "8core_ubuntu_latest_runner"
x86_64-unknown-linux-musl = "8core_ubuntu_latest_runner"
[dist.dependencies.apt]
gcc-aarch64-linux-gnu = { version = '*', targets = [
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
] }
gcc-riscv64-linux-gnu = { version = '*', targets = [
"riscv64gc-unknown-linux-gnu",
] }