fix cargo binstall pkg urls, add more platforms to CI
This commit is contained in:
@@ -15,18 +15,24 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
info:
|
||||
- os: "macOS"
|
||||
- os: "macOS-arm"
|
||||
runs-on: "macos-latest"
|
||||
executable-extension: ""
|
||||
- os: "linux-x86"
|
||||
- os: "macOS-intel"
|
||||
runs-on: "macos-26-intel"
|
||||
executable-extension: ""
|
||||
- os: "linux-x86_64"
|
||||
runs-on: "ubuntu-latest"
|
||||
executable-extension: ""
|
||||
- os: "linux-arm"
|
||||
runs-on: "ubuntu-24.04-arm"
|
||||
executable-extension: ""
|
||||
- os: "Windows"
|
||||
- os: "Windows-x86_64"
|
||||
runs-on: "windows-latest"
|
||||
executable-extension: ".exe"
|
||||
- os: "Windows-arm"
|
||||
runs-on: "windows-11-arm"
|
||||
executable-extension: ".exe"
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: check version
|
||||
|
||||
+21
@@ -23,3 +23,24 @@ clap = { version = "4.6.0", features = ["derive"] }
|
||||
clap_complete = "4.6.3"
|
||||
clap_complete_nushell = "4.6.0"
|
||||
clap_mangen = "0.3.0"
|
||||
|
||||
[package.metadata.binstall]
|
||||
pkg-fmt = "zip"
|
||||
|
||||
[package.metadata.binstall.overrides.'cfg(all(target_os = "macos", target_arch = "aarch64" ))']
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-macOS-arm-v{ version }{ archive-suffix }"
|
||||
|
||||
[package.metadata.binstall.overrides.'cfg(all(target_os = "macos", target_arch = "x86_64" ))']
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-macOS-intel-v{ version }{ archive-suffix }"
|
||||
|
||||
[package.metadata.binstall.overrides.'cfg(all(target_os = "linux", target_arch = "x86_64" ))']
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-linux-x86_64-v{ version }{ archive-suffix }"
|
||||
|
||||
[package.metadata.binstall.overrides.'cfg(all(target_os = "linux", target_arch = "aarch64" ))']
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-linux-arm-v{ version }{ archive-suffix }"
|
||||
|
||||
[package.metadata.binstall.overrides.'cfg(all(target_os = "windows", target_arch = "x86_64" ))']
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-Windows-x86_64-v{ version }{ archive-suffix }"
|
||||
|
||||
[package.metadata.binstall.overrides.'cfg(all(target_os = "windows", target_arch = "aarch64" ))']
|
||||
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-Windows-arm-v{ version }{ archive-suffix }"
|
||||
|
||||
Reference in New Issue
Block a user