CI: use the nightly-2021-10-17 toolchain when targetting nvptx

This commit is contained in:
Sébastien Crozet 2021-11-24 12:39:17 +01:00
parent b6dfb4d80b
commit 122bedf072
1 changed files with 5 additions and 0 deletions

View File

@ -120,6 +120,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: Jimver/cuda-toolkit@v0.2.4
- name: Install nightly-2021-10-17
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2021-10-17
override: true
- uses: actions/checkout@v2
- run: rustup target add nvptx64-nvidia-cuda
- run: cargo build --no-default-features --features cuda