diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b94cf656..2d04cf93 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -155,3 +155,18 @@ jobs: - name: Clean compiled programs run: make clean + +test_nvidia: + name: Test (Ubuntu, NVIDIA GPU) + runs-on: [self-hosted, cuda] + env: + CARGO_TERM_COLOR: always + steps: + - uses: actions/checkout@v3 + - name: Rustup toolchain install + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + components: clippy + - name: Run tests + run: cargo test -F cuda