From 183ad2b4beba224a0eeca075ea92c4a1095f219c Mon Sep 17 00:00:00 2001 From: Kyle Lacy Date: Sat, 21 Dec 2024 22:50:23 -0800 Subject: [PATCH] Update CI/CD pipeline to build for aarch64 Linux --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54af9ae..db481a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,13 @@ jobs: target: x86_64-unknown-linux-gnu tools_target: x86_64-unknown-linux-musl packed_exec: brioche-packed-userland-exec + - name: aarch64-linux + runs_on: ubuntu-22.04 + target: aarch64-unknown-linux-gnu + tools_target: aarch64-unknown-linux-musl + packed_exec: brioche-packed-userland-exec + install_deps: | + echo "CC=aarch-linux-gnu-gcc" >> $GITHUB_ENV - name: x86_64-macos runs_on: macos-14 target: x86_64-apple-darwin @@ -72,6 +79,9 @@ jobs: --component rust-src env: TOOLS_TARGET: ${{ matrix.platform.tools_target }} + - name: Install dependencies + if: matrix.platform.install_deps + run: ${{ matrix.platform.install_deps }} - name: Build Brioche runtime utils run: | cargo build \