Skip to content

Commit

Permalink
test musl build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jan 13, 2024
1 parent 25e5de9 commit f2809b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f2809b5

Please sign in to comment.