Add Apple ARM64 build

This commit is contained in:
Σrebe - Romain GERARD 2023-12-26 19:35:14 +01:00
parent f3de3a8488
commit f752ce67fb
No known key found for this signature in database
GPG key ID: 7A42B4B97E0332F4
2 changed files with 0 additions and 10 deletions

View file

@ -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:

View file

@ -16,8 +16,6 @@ builds:
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- goos: linux