mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-28 22:25:54 +00:00
*: add support for blacksmith cache to rust cache
This commit is contained in:
parent
378c8285a4
commit
d2fc93d000
6 changed files with 5547 additions and 3 deletions
32
.github/workflows/blacksmith.yml
vendored
Normal file
32
.github/workflows/blacksmith.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: blacksmith
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
blacksmith:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
|
||||
name: Test blacksmith 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: blacksmith
|
||||
|
||||
- run: |
|
||||
cargo check
|
||||
cargo test
|
||||
cargo build --release
|
||||
working-directory: tests
|
Loading…
Add table
Add a link
Reference in a new issue