Add Apple ARM64 build
This commit is contained in:
parent
f3de3a8488
commit
f752ce67fb
2 changed files with 0 additions and 10 deletions
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
|
@ -82,7 +82,6 @@ jobs:
|
|||
|
||||
# Linux & Windows
|
||||
- name: Install rust toolchain for Linux
|
||||
#if: ${{ !contains(matrix.platform.target, 'apple') && !contains(matrix.platform.target, 'android') }}
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
# We setup Rust toolchain and the desired target
|
||||
|
@ -104,19 +103,12 @@ jobs:
|
|||
target: ${{ matrix.platform.target }}
|
||||
components: rustfmt, clippy
|
||||
|
||||
- name: Use Cross
|
||||
shell: bash
|
||||
run: |
|
||||
cargo install cross --git https://github.com/cross-rs/cross
|
||||
echo "CARGO=cross" >> $GITHUB_ENV
|
||||
|
||||
- name: Show command used for Cargo
|
||||
run: |
|
||||
echo "cargo command is: ${{ env.CARGO }}"
|
||||
echo "target flag is: ${{ env.BUILD_ARGS }}"
|
||||
|
||||
- name: Build ${{ matrix.platform.name }} binary
|
||||
#if: ${{ !contains(matrix.platform.target, 'apple') }}
|
||||
uses: actions-rs/cargo@v1
|
||||
# We use cross-rs if not running on x86_64 architecture on Linux
|
||||
with:
|
||||
|
|
|
@ -16,8 +16,6 @@ builds:
|
|||
goarch: arm64
|
||||
- goos: windows
|
||||
goarch: arm
|
||||
- goos: darwin
|
||||
goarch: arm64
|
||||
- goos: darwin
|
||||
goarch: arm
|
||||
- goos: linux
|
||||
|
|
Loading…
Reference in a new issue