From c4a6e7bfa690366d812e6fb686d6b3870ebd9543 Mon Sep 17 00:00:00 2001 From: pandaadir05 Date: Fri, 21 Nov 2025 15:55:36 +0200 Subject: [PATCH] fix: split build steps for musl vs non-musl targets --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 044893a..28b5571 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -229,11 +229,16 @@ jobs: if: matrix.target == 'x86_64-unknown-linux-musl' run: sudo apt-get install -y musl-tools - - name: Build release + - name: Build release (musl) + if: matrix.target == 'x86_64-unknown-linux-musl' run: cargo build --release --target ${{ matrix.target }} --no-default-features env: OPENSSL_STATIC: 1 - OPENSSL_VENDORED: ${{ matrix.target == 'x86_64-unknown-linux-musl' && '1' || '' }} + OPENSSL_VENDORED: 1 + + - name: Build release (non-musl) + if: matrix.target != 'x86_64-unknown-linux-musl' + run: cargo build --release --target ${{ matrix.target }} --no-default-features - name: Create archive shell: bash