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

View File

@ -120,6 +120,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: Jimver/cuda-toolkit@v0.2.4 - 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 - uses: actions/checkout@v2
- run: rustup target add nvptx64-nvidia-cuda - run: rustup target add nvptx64-nvidia-cuda
- run: cargo build --no-default-features --features cuda - run: cargo build --no-default-features --features cuda