From f2809b55e899c9c5450a76cc4a0fe4ab98f08b18 Mon Sep 17 00:00:00 2001 From: Alex Butler Date: Sat, 13 Jan 2024 10:39:24 +0000 Subject: [PATCH] test musl build --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0af7e9..d36d611 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,22 @@ on: branches: [ main ] jobs: + linux-bin-temp: + name: Build Linux musl binary + runs-on: ubuntu-latest + steps: + - run: rustup update stable + - run: rustup target add x86_64-unknown-linux-musl + - uses: actions/checkout@v4 + - run: cargo build --release --locked --target=x86_64-unknown-linux-musl + - run: tar c ab-av1 | zstd -T0 -19 > ab-av1-v0.7.12-x86_64-unknown-linux-musl.tar.zst + working-directory: target/x86_64-unknown-linux-musl/release/ + - uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: target/x86_64-unknown-linux-musl/release/ab-av1-v0.7.12-x86_64-unknown-linux-musl.tar.zst + tag: v0.7.12 + overwrite: true test: runs-on: ubuntu-latest env: