-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
68 lines (64 loc) · 2.67 KB
/
Copy pathdist-workspace.toml
File metadata and controls
68 lines (64 loc) · 2.67 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.32.0"
# Keep the static build job name in our customized release workflow. The
# generated matrix expression is displayed literally when the job is skipped.
allow-dirty = ["ci"]
# 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", "x86_64-pc-windows-msvc"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
install-updater = false
# release-please creates the tag and the GitHub Release at release-PR merge
# time; dist only builds and attaches the assets.
create-release = false
# Downstream packaging (AUR/homebrew/scoop re-dispatch, macOS .app bundle)
# runs after all assets are uploaded.
post-announce-jobs = ["./publish-downstream", "./release-macos-app", "./release-config-schema"]
# .tar.gz over dist's default .tar.xz: every downstream consumer (PKGBUILD,
# formula, scoop) already handles gzip, and AUR makepkg extracts it natively.
unix-archive = ".tar.gz"
windows-archive = ".zip"
# The console host alacritree loads from its own directory on Windows, plus the
# upstream MIT notice that has to travel with it (alacritree/vendor/conpty).
# Both files have to land in the archive root, next to alacritree.exe, or
# LoadLibraryW does not find them. dist copies `include` into every archive and
# offers no per-target scoping, so the Unix tarballs carry them as well; they
# are inert there, and the alternative is hand-editing a generated workflow.
include = [
"alacritree/vendor/conpty/conpty.dll",
"alacritree/vendor/conpty/OpenConsole.exe",
"alacritree/vendor/conpty/LICENSE-conpty.txt",
]
# Native runners per target: the GUI links fontconfig/GL system libraries, so
# cross-compiling from a different-arch host doesn't work.
[dist.github-custom-runners]
aarch64-unknown-linux-gnu = "ubuntu-24.04-arm"
aarch64-apple-darwin = "macos-14"
x86_64-apple-darwin = "macos-15-intel"
# eframe (winit + glow), arboard (X11/Wayland clipboard), and the unix
# fontconfig dep all need C headers that aren't on the runners by default.
[dist.dependencies.apt]
cmake = '*'
pkg-config = '*'
libfreetype6-dev = '*'
libfontconfig1-dev = '*'
libxkbcommon-dev = '*'
libxcb-shape0-dev = '*'
libxcb-xfixes0-dev = '*'
libwayland-dev = '*'
libgl1-mesa-dev = '*'
libegl1-mesa-dev = '*'
[dist.dependencies.homebrew]
cmake = '*'
pkg-config = '*'
fontconfig = '*'
freetype = '*'