diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 259c818..85ebbd8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,23 +1,18 @@ on: [push, pull_request] -name: Test +name: Build jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - rust: - - stable - - beta - - nightly steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: ${{ matrix.rust }} - override: true - - uses: actions-rs/cargo@v1 - with: - command: test + - uses: actions/checkout@v4 + - run: sudo apt-get update && sudo apt-get install -y musl-tools + - uses: dtolnay/rust-toolchain@stable + with: + targets: x86_64-unknown-linux-musl + - run: cargo build --release --target x86_64-unknown-linux-musl + - uses: actions/upload-artifact@v4 + with: + name: lila-gif + path: target/x86_64-unknown-linux-musl/release/lila-gif