From 2bb9a35bb46b1ffd9c5308317aaa2d5dfb5196de Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 18 May 2023 15:45:02 -0400 Subject: [PATCH] ci: attempt to fix --- .github/workflows/ci.yml | 8 +++++++- .github/workflows/release.yml | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a223a76..6a71bbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,16 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Install dependencies (musl) + if: contains(matrix.target, 'musl') + run: | + sudo apt update + sudo apt install musl-tools + - name: Cargo build run: | rustup toolchain install stable --profile minimal -t ${{ matrix.target }} - cargo build + cargo build --target ${{ matrix.target }} env: GEN_ARTIFACTS: artifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f905dcc..96008f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,6 +33,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Install dependencies (musl) + if: contains(matrix.target, 'musl') + run: | + sudo apt update + sudo apt install musl-tools + - name: Cargo build run: | rustup toolchain install nightly --profile minimal -t ${{ matrix.target }}