diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4ace744..5b79819 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -28,6 +28,11 @@ jobs: - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov + - uses: cargo-bins/cargo-binstall@main + + - name: Install cargo-deb + run: cargo binstall cargo-deb + - name: Use sccache-cache uses: mozilla-actions/sccache-action@v0.0.6 @@ -63,6 +68,12 @@ jobs: files: lcov.info fail_ci_if_error: true + - name: Create Debian package + run: cargo deb + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" + windows: runs-on: windows-latest