-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
44 lines (41 loc) · 1.77 KB
/
Copy pathdist-workspace.toml
File metadata and controls
44 lines (41 loc) · 1.77 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
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.30.3"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Features to pass to cargo build
features = ["generate-manifest"]
# 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", "x86_64-pc-windows-msvc"]
# Which actions to run on pull requests
pr-run-mode = "upload"
# Extra static files to include in each App (path relative to this Cargo.toml's dir)
include = ["manifest.yml", "LICENSE", "LICENSE-3RD-PARTY.txt"]
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
# Whether to use cargo-cyclonedx to generate an SBOM
cargo-cyclonedx = true
# Publish jobs to run in CI
publish-jobs = ["./sign-zip"]
# Post-announce jobs to run in CI
post-announce-jobs = ["./bump-atlas-local-plugin-min-version"]
# Add contents:write permission for publish jobs (needed to upload release assets)
# Note: overriding removes defaults, so we include id-token and packages too
github-custom-job-permissions = { "sign-zip" = { contents = "write", id-token = "write", packages = "write" }, "bump-atlas-cli-min-version" = { contents = "write" } }
[dist.binaries]
aarch64-apple-darwin = ["atlas-local"]
aarch64-unknown-linux-gnu = ["atlas-local"]
x86_64-apple-darwin = ["atlas-local"]
x86_64-unknown-linux-gnu = ["atlas-local"]
x86_64-pc-windows-msvc = ["atlas-local"]
[dist.dependencies.apt]
libdbus-1-dev = '*'