CI: add a build targetting nvptx cuda
This commit is contained in:
parent
3eef934999
commit
23d3ed7ee4
|
@ -29,8 +29,8 @@ jobs:
|
||||||
# env:
|
# env:
|
||||||
# RUSTFLAGS: -D warnings
|
# RUSTFLAGS: -D warnings
|
||||||
steps:
|
steps:
|
||||||
|
# Needed for the --all-features build which enables cuda support.
|
||||||
- uses: Jimver/cuda-toolkit@v0.2.4
|
- uses: Jimver/cuda-toolkit@v0.2.4
|
||||||
id: cuda-toolkit
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build --no-default-feature
|
- name: Build --no-default-feature
|
||||||
run: cargo build --no-default-features;
|
run: cargo build --no-default-features;
|
||||||
|
@ -112,3 +112,11 @@ jobs:
|
||||||
run: xargo build --verbose --no-default-features -p nalgebra-glm --target=x86_64-unknown-linux-gnu;
|
run: xargo build --verbose --no-default-features -p nalgebra-glm --target=x86_64-unknown-linux-gnu;
|
||||||
- name: build thumbv7em-none-eabihf nalgebra-glm
|
- name: build thumbv7em-none-eabihf nalgebra-glm
|
||||||
run: xargo build --verbose --no-default-features -p nalgebra-glm --target=thumbv7em-none-eabihf;
|
run: xargo build --verbose --no-default-features -p nalgebra-glm --target=thumbv7em-none-eabihf;
|
||||||
|
build-cuda:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: Jimver/cuda-toolkit@v0.2.4
|
||||||
|
- name: build --no-default-features --features cuda
|
||||||
|
run: cargo build --no-default-features --features cuda
|
||||||
|
- name: build --no-default-features --features cuda --target=nvptx-nvidia-cuda
|
||||||
|
run: cargo build --no-default-features --features cuda --target=nvptx-nvidia-cuda
|
Loading…
Reference in New Issue