From db34213d3001a66650dbfa279464bc633d791173 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sat, 18 Apr 2026 12:36:18 -0400 Subject: [PATCH] ci: install build-essential on arm64 runners Release run 24608869678 failed on both aarch64 Linux compiles with "linker `cc` not found" after the dtolnay/rust-toolchain fix got us past rustup. The ubuntu-*-arm-32-cores images don't ship build tools preinstalled (the x86_64 variants do). Add a Linux-only step that installs build-essential so `cc` is available for cargo's build scripts, and drop the now-redundant apt-get update from the musl toolchain step since it runs right after. --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 51ef862df..2ba1832f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,9 +62,15 @@ jobs: with: persist-credentials: false + - name: Install Linux build tools + if: runner.os == 'Linux' + run: | + sudo apt-get update + sudo apt-get install -y build-essential + - name: Install musl toolchain if: matrix.musl - run: sudo apt-get update && sudo apt-get install -y musl-tools + run: sudo apt-get install -y musl-tools - name: Set up Rust uses: dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable