ci: add prerequisite installation step to the test job

This commit is contained in:
J / Jacob Babich
2024-10-07 00:58:13 -04:00
parent 44d8066d8c
commit 7e1bd57b98

View File

@@ -136,7 +136,8 @@ jobs:
- runner: ubuntu-latest - runner: ubuntu-latest
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
- runner: ubuntu-latest - install_prerequisite: sudo apt-get update && sudo apt-get install musl-tools
runner: ubuntu-latest
target: x86_64-unknown-linux-musl target: x86_64-unknown-linux-musl
# Not able to be tested in GitHub Actions (without emulation, at least) # Not able to be tested in GitHub Actions (without emulation, at least)
@@ -159,6 +160,10 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install prerequisite build chain
if: matrix.supporteds.install_prerequisite
run: ${{ matrix.supporteds.install_prerequisite }}
- name: Install stable Rust toolchain - name: Install stable Rust toolchain
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with: