Skip to content

Commit

Permalink
ci: don't build for Linux ARM.
Browse files Browse the repository at this point in the history
It was added in f88d390 but not properly tested to make sure the build worked.
  • Loading branch information
plusvic committed Feb 3, 2025
1 parent d1e7627 commit 1e71e48
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:
os: ubuntu-latest
target: x86_64-unknown-linux-gnu

- build: linux-arm
os: ubuntu-latest
target: aarch64-unknown-linux-gnu

- build: macos-intel
os: macos-latest
target: x86_64-apple-darwin
Expand Down Expand Up @@ -66,12 +62,6 @@ jobs:
- run: rustup target add ${{ matrix.target }}

# Cross-compiling for ARM requires installing GCC for aarch64.
- if: matrix.build == 'linux-arm'
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Build
run: cargo build --bin yr --profile release-lto --target ${{ matrix.target }}
env:
Expand Down Expand Up @@ -161,6 +151,9 @@ jobs:
- run: rustup target add aarch64-apple-darwin x86_64-apple-darwin
if: matrix.build == 'macos'

- run: rustup target add aarch64-pc-windows-msvc
if: matrix.build == 'windows'

- name: Install Python dependencies
run: pip install -U setuptools wheel twine cibuildwheel platformdirs

Expand Down

0 comments on commit 1e71e48

Please sign in to comment.