tinymist/dist-workspace.toml
Myriad-Dreamin b1bb3196b7
ci: build binaries for riscv64-linux-musl, loongarch64-linux-{musl,gnu} (#1014)
* dev: patch cargo-dist

* dev: patch cargo-dist 2
2024-12-17 15:53:34 +08:00

55 lines
2 KiB
TOML

[workspace]
members = ["cargo:."]
# Config for 'dist'
[dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.26.1-tinymist.6"
cargo-dist-url-override = "https://github.com/Myriad-Dreamin/cargo-dist/releases/download/v0.26.1-tinymist.6"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell"]
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".zip"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Target platforms to build apps for (Rust target-triple syntax)
# These targets are determined based on the awesome ruff project...
targets = [
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"arm-unknown-linux-musleabihf",
"armv7-unknown-linux-gnueabihf",
"armv7-unknown-linux-musleabihf",
# "i686-pc-windows-msvc",
# "i686-unknown-linux-gnu",
# "i686-unknown-linux-musl",
# "powerpc64-unknown-linux-gnu",
# "powerpc64le-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
# "riscv64gc-unknown-linux-gnu",
"riscv64gc-unknown-linux-musl",
"loongarch64-unknown-linux-gnu",
"loongarch64-unknown-linux-musl",
]
# Whether to auto-include files like READMEs, LICENSEs, and CHANGELOGs (default true)
auto-includes = false
# Whether dist should create a Github Release or use an existing draft
create-release = false
# Which actions to run on pull requests
pr-run-mode = "skip"
# Whether CI should trigger releases with dispatches instead of tag pushes
dispatch-releases = true
# Whether to install an updater program
install-updater = false
# Path that installers should place binaries in
install-path = ["$XDG_BIN_HOME/", "$XDG_DATA_HOME/../bin", "~/.local/bin"]
[dist.github-custom-runners]
aarch64-pc-windows-msvc = "windows-latest"