From f752ce67fb7c35ef3ea563fff20b399bb221e967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=A3rebe=20-=20Romain=20GERARD?= Date: Tue, 26 Dec 2023 19:35:14 +0100 Subject: [PATCH] Add Apple ARM64 build --- .github/workflows/release.yaml | 8 -------- .goreleaser.yaml | 2 -- 2 files changed, 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d232a34..de3938a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3a1615c..c5077db 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,8 +16,6 @@ builds: goarch: arm64 - goos: windows goarch: arm - - goos: darwin - goarch: arm64 - goos: darwin goarch: arm - goos: linux