From 8858e79615a973cfb15598c3d86ee86997f4fea0 Mon Sep 17 00:00:00 2001 From: Liam Bigelow <40188355+bglw@users.noreply.github.com> Date: Sat, 2 Jul 2022 14:44:36 +1200 Subject: [PATCH] Install musl tools in GitHub action --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5471b75d..41324957 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -116,11 +116,13 @@ jobs: rust: stable target: x86_64-unknown-linux-musl cross: false + musl: true - build: macos os: macos-latest rust: stable target: x86_64-apple-darwin cross: false + musl: false steps: - name: Checkout repository uses: actions/checkout@v2 @@ -142,6 +144,11 @@ jobs: run: | sudo apt update sudo apt install ${{ matrix.linker }} + - name: Install Musl Tools + if: matrix.musl + run: | + sudo apt update + sudo apt install -y musl-tools musl-dev - name: Install Rust run: | rustup install ${{ matrix.rust }}