-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdist-workspace.toml
42 lines (39 loc) · 1.65 KB
/
dist-workspace.toml
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
[workspace]
# All the packages which 'cargo-dist' is responsible for.
# This is _only_ the binary packages in the overall project, so it excludes
# libraries including any SDKs and our supporting libraries.
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.28.0"
# CI backends to support
ci = "github"
# Which actions to run on pull requests
pr-run-mode = "plan"
# Path that installers should place binaries in
install-path = ["~/.local/bin", "~/.hipcheck/bin"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
# Whether to install an updater program
install-updater = true
# Only build the artifacts we need, instead of the whole workspace
precise-builds = true
# NOTE: MUST be synced manually with runners in `.github/workflows/hipcheck.yml`
[dist.github-custom-runners]
# Ensure Apple Silicon macOS builds run natively rather than cross-compiling
# from x86. Also makes sure our Apple Silicon macOS release builds match the
# runner used for regular CI testing.
aarch64-apple-darwin = "macos-14"
# Update our Ubuntu release runs away from Ubuntu 20.04, which is now being
# sunset by GitHub. They only track the last two LTS Ubuntu releases for free
# runners, and with 24.04 out they're sunsetting 20.04. We're *just* moving to
# 22.04, since releases compiled against 22.04's glibc should be forwards-
# compatible with 24.04, but if we built on 24.04 the glibc *would not* be
# backwards-compatible.
x86_64-unknown-linux-gnu = "ubuntu-22.04"