mirror of
https://github.com/Swatinem/rust-cache
synced 2025-09-03 10:08:16 +00:00
move buildjet test into its own workflow
This commit is contained in:
parent
b00faf5858
commit
e97a782690
3 changed files with 33 additions and 31 deletions
32
.github/workflows/buildjet.yml
vendored
Normal file
32
.github/workflows/buildjet.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: buildjet
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
buildjet:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
|
||||
name: Test buildjet provider on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- run: rustup toolchain install stable --profile minimal --no-self-update
|
||||
|
||||
- uses: ./
|
||||
with:
|
||||
workspaces: tests
|
||||
cache-provider: buildjet
|
||||
|
||||
- run: |
|
||||
cargo check
|
||||
cargo test
|
||||
cargo build --release
|
||||
working-directory: tests
|
Loading…
Add table
Add a link
Reference in a new issue