Skip to content

feat(device-plugin): add nvidia-dev-root option for custom host path … #1113

feat(device-plugin): add nvidia-dev-root option for custom host path …

feat(device-plugin): add nvidia-dev-root option for custom host path … #1113

Workflow file for this run

name: Test
permissions:
contents: read
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings"
jobs:
cargo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Install CUDA toolkit
uses: Jimver/[email protected]
with:
sub-packages: '["nvcc", "cudart-dev"]'
method: network
- name: Install Protobuf Compiler (protoc)
run: sudo apt-get install -y protobuf-compiler
- name: Test
run: cargo test --locked --workspace --all-targets