Repository navigation
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
39 lines (35 loc) · 1.69 KB
/
Copy pathdist-workspace.toml
File metadata and controls
39 lines (35 loc) · 1.69 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
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# 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", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "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
# Codesign macOS binaries with the Developer ID certificate. `dist build` reads the
# certificate from CODESIGN_* env vars, which build-local.yml sets from the
# `release` environment's secrets.
macos-sign = true
# The builtin build-local-artifacts job can't declare a GitHub environment, so it
# can't reach the signing secrets; .github/workflows/build-local.yml replaces it.
build-local-artifacts = false
local-artifacts-jobs = ["./build-local"]
# Pin GitHub Actions to exact commit SHAs in the generated release.yml (required by security policy)
[dist.github-action-commits]
"actions/checkout" = "de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
"actions/upload-artifact" = "b7c566a772e6b6bfb58ed0dc250532a479d7789f" # v6.0.0
"actions/download-artifact" = "37930b1c2abaa49bbe596cd826c3c89aef350131" # v7.0.0
# The signing certificate is a .p12 in OpenSSL 3's default format (AES-256/SHA-256),
# which `security import` on macOS 14 rejects; macOS 15 reads it.
[dist.github-custom-runners]
aarch64-apple-darwin = "macos-15"
[dist.dependencies.apt]
libdbus-1-dev = '*' # required by libdbus-sys introduced by keyring