-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
37 lines (33 loc) · 1.17 KB
/
Copy pathdist-workspace.toml
File metadata and controls
37 lines (33 loc) · 1.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
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
github-build-setup = "../build-setup.yml"
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.31.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# 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"]
# Which actions to run on pull requests
pr-run-mode = "plan"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = true
[[dist.extra-artifacts]]
artifacts = ["source-full.tar.gz", "source-full.tar.gz.sha256"]
build = ["bash", "-c", """
set -e
git archive --format=tar.gz --prefix=alevin-fry/ HEAD > source-full.tar.gz
shasum -a 256 source-full.tar.gz > source-full.tar.gz.sha256
"""]
[dist.github-custom-runners]
aarch64-apple-darwin = "macos-14"
x86_64-apple-darwin = "macos-15-intel"
x86_64-unknown-linux-gnu = "ubuntu-22.04"
[dist.dependencies.homebrew]
coreutils = { stage = ["build"] }
gnu-tar = { stage = ["build"] }