Skip to content

Commit

Permalink
Update CI/CD pipeline to build for aarch64 Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Dec 22, 2024
1 parent 7a0e4f8 commit 9780b64
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ 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: |
sudo apt-get install -y gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
echo 'CC=aarch64-linux-gnu-gcc' >> $GITHUB_ENV
echo 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-gnu-gcc' >> $GITHUB_ENV
- name: x86_64-macos
runs_on: macos-14
target: x86_64-apple-darwin
Expand Down Expand Up @@ -72,6 +81,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 \
Expand Down Expand Up @@ -134,6 +146,11 @@ jobs:
with:
name: brioche-runtime-utils-x86_64-linux
path: artifacts/brioche
- name: Download artifacts (aarch64-linux)
uses: actions/download-artifact@v4
with:
name: brioche-runtime-utils-aarch64-linux
path: artifacts/brioche
- name: Download artifacts (x86_64-macos)
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 9780b64

Please sign in to comment.