-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathdist-workspace.toml
More file actions
27 lines (25 loc) · 1.15 KB
/
Copy pathdist-workspace.toml
File metadata and controls
27 lines (25 loc) · 1.15 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
[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"
# Read release notes from CHANGELOG.md
changelog = "CHANGELOG.md"
# The installers to generate for each app
installers = ["shell", "homebrew"]
# GitHub repo that hosts the Homebrew tap (create with `gh repo create homebrew-patent`)
tap = "r14dd/homebrew-patent"
# publish-jobs = ["homebrew"] # enable after creating r14dd/homebrew-patent + HOMEBREW_TAP_TOKEN secret
# Target platforms to build apps for (Rust target-triple syntax).
# Intel macOS and Windows are omitted: ort-sys static linking has unresolved
# MSVC externals and no Intel-macOS prebuilt. Those platforms install via
# `cargo install patent` with a local onnxruntime.
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]
# Build the Linux targets on a newer image: the onnxruntime prebuilt needs
# glibc >= 2.38, which the default image is too old for.
[dist.github-custom-runners]
x86_64-unknown-linux-gnu = "ubuntu-24.04"
aarch64-unknown-linux-gnu = "ubuntu-24.04-arm"