Skip to content

Commit

Permalink
Add Apple ARM64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Dec 26, 2023
1 parent f3de3a8 commit f752ce6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ builds:
goarch: arm64
- goos: windows
goarch: arm
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- goos: linux
Expand Down

0 comments on commit f752ce6

Please sign in to comment.