diff --git a/.github/workflows/build-release-binaries.yaml b/.github/workflows/build-release-binaries.yaml index 0a752874..fbbda2ac 100644 --- a/.github/workflows/build-release-binaries.yaml +++ b/.github/workflows/build-release-binaries.yaml @@ -14,6 +14,10 @@ jobs: os: ubuntu-latest archive_ext: tgz + - target: x86_64-unknown-linux-musl + os: ubuntu-latest + archive_ext: tgz + - target: x86_64-apple-darwin os: macos-13 archive_ext: tgz diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0143c49f..d4ece4d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,7 @@ jobs: toolchain: ${{ matrix.rust }} override: true profile: minimal + target: x86_64-unknown-linux-musl - name: fetch run: cargo fetch --verbose @@ -58,5 +59,9 @@ jobs: - name: build run: cargo build --verbose + - name: build using musl + if: matrix.os == 'ubuntu-latest' + run: cargo build --verbose --target=x86_64-unknown-linux-musl + - name: test_all run: cargo test --verbose --all -- --test-threads=1