Skip to content

Commit

Permalink
chore: make windows build part of the matrix and cache deps. (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimsynz authored May 21, 2024
1 parent 158847e commit a5f6ade
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,39 @@ jobs:
git diff --exit-code --no-ext-diff crates/renderling/src/linkage
renderling-clippy:
strategy:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
cache-on-failure: "true"
- run: cargo clippy

renderling-test:
strategy:
fail-fast: false
matrix:
label: [pi4, intel, amd]
continue-on-error: true
label: [pi4, intel, amd, Windows]
runs-on: ${{ matrix.label }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
cache-on-failure: "true"
- run: apt-get -q -y update && apt-get -q -y install libvulkan1
- run: RUST_LOG=trace cargo test -j 1 -- --test-threads=1
if: ${{ runner.os == 'Linux' }}
- run: cargo test -- --test-threads=1
env:
RUST_BACKTRACE: 1
RUST_LOG: trace
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down

0 comments on commit a5f6ade

Please sign in to comment.