-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
46 lines (42 loc) · 1.88 KB
/
Copy pathdist-workspace.toml
File metadata and controls
46 lines (42 loc) · 1.88 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
# NOTE: after `dist generate`, re-apply the hand edits in .github/workflows/release.yml:
# re-pin the action `uses:` to commit SHAs (repo convention; dist regenerates them as
# version tags), and restore the workflow_dispatch trigger block plus the
# `github.event_name == 'push'` publishing conditions (dist regenerates a pull_request
# trigger keyed on `!github.event.pull_request`).
[workspace]
members = ["cargo:."]
# Config for `dist` (cargo-dist). Generates the cross-platform binary release
# pipeline in `.github/workflows/release.yml`. Regenerate after edits with
# `dist generate`. Only the `vertex` package produces a binary, so the matrix
# ships the bare client and nothing else.
[dist]
cargo-dist-version = "0.32.0"
# The generated release.yml deviates from what `dist generate` produces: action uses
# are hand-pinned to commit SHAs (repo convention), and the pull_request trigger is
# replaced by workflow_dispatch so PRs stop building the release matrix automatically.
allow-dirty = ["ci"]
# The installers fetch the matching prebuilt archive for the host.
installers = ["shell", "powershell"]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
ci = ["github"]
# With the pull_request trigger removed from release.yml this only affects manual
# workflow_dispatch runs, which upload throwaway artefacts so a build can be
# smoke-tested without cutting a release.
pr-run-mode = "upload"
install-path = "CARGO_HOME"
# The build needs the protobuf compiler on every platform for the gRPC server
# crate, and Windows additionally needs nasm to build aws-lc-sys. The runners
# do not ship these, so cargo-dist installs them before each build job.
[dist.dependencies.apt]
protobuf-compiler = '*'
[dist.dependencies.homebrew]
protobuf = '*'
[dist.dependencies.chocolatey]
protoc = '*'
nasm = '*'