mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 18:48:51 +00:00
Better rust GH action.
This commit is contained in:
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@ -56,7 +56,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- name: Install Rust Stable
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
components: rustfmt, clippy
|
||||||
|
override: true
|
||||||
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Test (cuda)
|
- name: Test (cuda)
|
||||||
run: cargo test --features cuda
|
run: cargo test --features cuda
|
||||||
stop-runner:
|
stop-runner:
|
||||||
|
Reference in New Issue
Block a user