mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-10 03:30:59 +00:00
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.
This commit is contained in:
parent
81be32a1e2
commit
db34213d30
1 changed files with 7 additions and 1 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue