Skip to content

Commit

Permalink
ci: fix linux aarch64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Feb 21, 2025
1 parent 5097df7 commit f716a06
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 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,16 +48,8 @@ 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 }}
run: cargo build --bin anvil-zksync --release --target ${{ matrix.arch }}

- name: Pack anvil-zksync
run: |
Expand Down

0 comments on commit f716a06

Please # to comment.