-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
38 lines (36 loc) · 1.67 KB
/
Copy pathdist-workspace.toml
File metadata and controls
38 lines (36 loc) · 1.67 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
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.29.0"
# CI backends to support
ci = "github"
# Only root release tags (vX.Y.Z) should invoke cargo-dist. Language SDKs in
# subdirectories use namespaced tags such as secretspec-go/vX.Y.Z.
tag-namespace = "v"
# The installers to generate for each app
installers = ["shell"]
# Build only the `secretspec` CLI app, package-by-package, instead of a
# `cargo build --workspace`. The workspace now includes cdylib SDK crates
# (e.g. the pyo3 `secretspec-py-native`) that do not link standalone on macOS,
# so a whole-workspace release build fails; precise builds skip them.
precise-builds = true
# Target platforms to build apps for (Rust target-triple syntax)
#
# aarch64-pc-windows-msvc is missing on purpose: dist 0.29 pins axoupdater 0.9.1,
# which has no binary for it (axodotdev/axoupdater#313). install-updater is a
# global setting, so that target is built and attached by
# cli-windows-arm64.yml instead, leaving the updater intact everywhere dist can
# provide one.
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = true
# https://github.com/axodotdev/cargo-dist/issues/74
[dist.github-custom-runners]
aarch64-unknown-linux-gnu = "ubuntu-24.04-arm"
aarch64-unknown-linux-musl = "ubuntu-24.04-arm"
aarch64-apple-darwin = "macos-latest"
x86_64-apple-darwin = "macos-15"