forked from M-Labs/nalgebra
CI: add a build targetting nvptx cuda
This commit is contained in:
parent
3eef934999
commit
23d3ed7ee4
10
.github/workflows/nalgebra-ci-build.yml
vendored
10
.github/workflows/nalgebra-ci-build.yml
vendored
@ -29,8 +29,8 @@ jobs:
|
||||
# env:
|
||||
# RUSTFLAGS: -D warnings
|
||||
steps:
|
||||
# Needed for the --all-features build which enables cuda support.
|
||||
- uses: Jimver/cuda-toolkit@v0.2.4
|
||||
id: cuda-toolkit
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build --no-default-feature
|
||||
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;
|
||||
- name: build thumbv7em-none-eabihf nalgebra-glm
|
||||
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
Block a user