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
|
# Linux & Windows
|
||||||
- name: Install rust toolchain for Linux
|
- name: Install rust toolchain for Linux
|
||||||
#if: ${{ !contains(matrix.platform.target, 'apple') && !contains(matrix.platform.target, 'android') }}
|
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
# We setup Rust toolchain and the desired target
|
# We setup Rust toolchain and the desired target
|
||||||
|
@ -104,19 +103,12 @@ jobs:
|
||||||
target: ${{ matrix.platform.target }}
|
target: ${{ matrix.platform.target }}
|
||||||
components: rustfmt, clippy
|
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
|
- name: Show command used for Cargo
|
||||||
run: |
|
run: |
|
||||||
echo "cargo command is: ${{ env.CARGO }}"
|
echo "cargo command is: ${{ env.CARGO }}"
|
||||||
echo "target flag is: ${{ env.BUILD_ARGS }}"
|
echo "target flag is: ${{ env.BUILD_ARGS }}"
|
||||||
|
|
||||||
- name: Build ${{ matrix.platform.name }} binary
|
- name: Build ${{ matrix.platform.name }} binary
|
||||||
#if: ${{ !contains(matrix.platform.target, 'apple') }}
|
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
# We use cross-rs if not running on x86_64 architecture on Linux
|
# We use cross-rs if not running on x86_64 architecture on Linux
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -16,8 +16,6 @@ builds:
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
- goos: windows
|
- goos: windows
|
||||||
goarch: arm
|
goarch: arm
|
||||||
- goos: darwin
|
|
||||||
goarch: arm64
|
|
||||||
- goos: darwin
|
- goos: darwin
|
||||||
goarch: arm
|
goarch: arm
|
||||||
- goos: linux
|
- goos: linux
|
||||||
|
|
Loading…
Reference in a new issue