diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2503ddfa..7e133b4a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -173,6 +173,20 @@ jobs: path: target/aarch64-unknown-linux-gnu/release/fend if-no-files-found: error + - name: Build (linux-x86_64-musl) + if: ${{ matrix.platform == 'ubuntu-latest' }} + run: | + rustup target add x86_64-unknown-linux-musl + cargo build --release --package fend --target x86_64-unknown-linux-musl + + - name: Upload artifacts (linux-x86_64-musl) + uses: actions/upload-artifact@v3 + if: ${{ matrix.platform == 'ubuntu-latest' }} + with: + name: fend-${{ env.FEND_VERSION }}-linux-x86_64-musl + path: target/x86_64-unknown-linux-musl/release/fend + if-no-files-found: error + - name: Set up Homebrew if: ${{ matrix.platform == 'ubuntu-latest' }} run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH diff --git a/contrib/deploy.sh b/contrib/deploy.sh index 0b8edd7e..4fccc779 100755 --- a/contrib/deploy.sh +++ b/contrib/deploy.sh @@ -217,6 +217,8 @@ zip --junk-paths "$TMPDIR/artifacts/fend-$NEW_VERSION-linux-aarch64-gnu.zip" \ "$TMPDIR/artifacts/fend-$NEW_VERSION-linux-aarch64-gnu/fend" zip --junk-paths "$TMPDIR/artifacts/fend-$NEW_VERSION-linux-armv7-gnueabihf.zip" \ "$TMPDIR/artifacts/fend-$NEW_VERSION-linux-armv7-gnueabihf/fend" +zip --junk-paths "$TMPDIR/artifacts/fend-$NEW_VERSION-linux-x86_64-musl.zip" \ + "$TMPDIR/artifacts/fend-$NEW_VERSION-linux-x86_64-musl/fend" zip --junk-paths "$TMPDIR/artifacts/fend-$NEW_VERSION-macos-aarch64.zip" \ "$TMPDIR/artifacts/fend-$NEW_VERSION-macos-aarch64/fend" zip --junk-paths "$TMPDIR/artifacts/fend-$NEW_VERSION-macos-x64.zip" \