Add Linux musl CLI builds (#9240)
Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
@@ -69,7 +69,15 @@ clap_complete_nushell = "4.6.0"
|
||||
winapi = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["code-mode", "local-inference", "aws-providers", "telemetry", "otel", "rustls-tls"]
|
||||
default = [
|
||||
"code-mode",
|
||||
"local-inference",
|
||||
"aws-providers",
|
||||
"telemetry",
|
||||
"otel",
|
||||
"rustls-tls",
|
||||
"system-keyring",
|
||||
]
|
||||
code-mode = ["goose/code-mode"]
|
||||
local-inference = ["goose/local-inference"]
|
||||
aws-providers = ["goose/aws-providers"]
|
||||
@@ -77,6 +85,8 @@ cuda = ["goose/cuda", "local-inference"]
|
||||
vulkan = ["goose/vulkan", "local-inference"]
|
||||
telemetry = ["goose/telemetry"]
|
||||
otel = ["goose/otel"]
|
||||
system-keyring = ["goose/system-keyring"]
|
||||
portable-default = ["rustls-tls", "aws-providers", "telemetry", "otel"]
|
||||
# disables the update command
|
||||
disable-update = []
|
||||
rustls-tls = [
|
||||
|
||||
@@ -18,14 +18,22 @@ fn asset_name() -> &'static str {
|
||||
{
|
||||
"goose-x86_64-apple-darwin.tar.bz2"
|
||||
}
|
||||
#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
|
||||
#[cfg(all(target_os = "linux", target_arch = "x86_64", target_env = "gnu"))]
|
||||
{
|
||||
"goose-x86_64-unknown-linux-gnu.tar.bz2"
|
||||
}
|
||||
#[cfg(all(target_os = "linux", target_arch = "aarch64"))]
|
||||
#[cfg(all(target_os = "linux", target_arch = "aarch64", target_env = "gnu"))]
|
||||
{
|
||||
"goose-aarch64-unknown-linux-gnu.tar.bz2"
|
||||
}
|
||||
#[cfg(all(target_os = "linux", target_arch = "x86_64", target_env = "musl"))]
|
||||
{
|
||||
"goose-x86_64-unknown-linux-musl.tar.bz2"
|
||||
}
|
||||
#[cfg(all(target_os = "linux", target_arch = "aarch64", target_env = "musl"))]
|
||||
{
|
||||
"goose-aarch64-unknown-linux-musl.tar.bz2"
|
||||
}
|
||||
#[cfg(all(target_os = "windows", target_arch = "x86_64", feature = "cuda"))]
|
||||
{
|
||||
"goose-x86_64-pc-windows-msvc-cuda.zip"
|
||||
|
||||
Reference in New Issue
Block a user