Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ci: fix linux aarch64 builds #593

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
matrix:
include:
- arch: x86_64-unknown-linux-gnu
platform: ubuntu-24.04
platform: ubuntu-22.04
- arch: aarch64-unknown-linux-gnu
platform: ubuntu-24.04
platform: ubuntu-22.04-arm
- arch: x86_64-apple-darwin
platform: macos-latest
- arch: aarch64-apple-darwin
Expand All @@ -48,13 +48,6 @@ jobs:
# See https://book.getfoundry.sh/faq?highlight=allow#out-of-date-glibc
rustflags: "-C target-feature=+crt-static"

- name: Linux ARM setup
if: matrix.arch == 'aarch64-unknown-linux-gnu'
run: |
sudo apt-get update -y
sudo apt-get install -y gcc-aarch64-linux-gnu
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV

- name: Build anvil-zksync for ${{ matrix.arch }}
run: |
cargo build --bin anvil-zksync --release --target ${{ matrix.arch }}
Expand Down
Loading