mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
Merge pull request #145 from passcod/apple-m1
This commit is contained in:
commit
fd029bc583
2 changed files with 22 additions and 15 deletions
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
|
@ -29,6 +29,11 @@ jobs:
|
||||||
output: cargo-binstall
|
output: cargo-binstall
|
||||||
archive: zip
|
archive: zip
|
||||||
use-cross: false
|
use-cross: false
|
||||||
|
- target: aarch64-apple-darwin
|
||||||
|
os: macos-latest
|
||||||
|
output: cargo-binstall
|
||||||
|
archive: zip
|
||||||
|
use-cross: false
|
||||||
- target: armv7-unknown-linux-gnueabihf
|
- target: armv7-unknown-linux-gnueabihf
|
||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
output: cargo-binstall
|
output: cargo-binstall
|
||||||
|
@ -152,14 +157,6 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: FranzDiebold/github-env-vars-action@v1.2.1
|
- uses: FranzDiebold/github-env-vars-action@v1.2.1
|
||||||
|
|
||||||
- name: Configure toolchain
|
|
||||||
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
|
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
target: ${{ matrix.target }}
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: cargo-binstall-${{ matrix.target }}.${{ matrix.archive }}
|
name: cargo-binstall-${{ matrix.target }}.${{ matrix.archive }}
|
||||||
|
|
20
README.md
20
README.md
|
@ -7,22 +7,32 @@ To support `binstall` maintainers must add configuration values to `Cargo.toml`
|
||||||
|
|
||||||
To get started _using_ `cargo-binstall`, first install the binary (either via `cargo install cargo-binstall` or by downloading a pre-compiled [release](https://github.com/ryankurte/cargo-binstall/releases).
|
To get started _using_ `cargo-binstall`, first install the binary (either via `cargo install cargo-binstall` or by downloading a pre-compiled [release](https://github.com/ryankurte/cargo-binstall/releases).
|
||||||
|
|
||||||
linux x86_64:
|
linux x86\_64:
|
||||||
```
|
```
|
||||||
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-gnu.tgz
|
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
```
|
```
|
||||||
|
|
||||||
linux armv7:
|
linux armv7:
|
||||||
```
|
```
|
||||||
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-armv7-unknown-linux-gnueabihf.tgz
|
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-armv7-unknown-linux-musleabihf.tgz
|
||||||
```
|
```
|
||||||
|
|
||||||
macos x86_64:
|
linux arm64:
|
||||||
|
```
|
||||||
|
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-aarch64-unknown-linux-musleabihf.tgz
|
||||||
|
```
|
||||||
|
|
||||||
|
macos x86\_64:
|
||||||
```
|
```
|
||||||
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-apple-darwin.zip
|
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-apple-darwin.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
windows x86_64:
|
macos M1:
|
||||||
|
```
|
||||||
|
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-aarch64-apple-darwin.zip
|
||||||
|
```
|
||||||
|
|
||||||
|
windows x86\_64:
|
||||||
```
|
```
|
||||||
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-pc-windows-msvc.zip
|
wget https://github.com/ryankurte/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-pc-windows-msvc.zip
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue