From b2365dd68dc001e2649f3cfda4fa60f818a7c24b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 18 Nov 2021 14:23:03 +0200 Subject: [PATCH] Add cuda-linux, cuda-windows jobs to ci.yml --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5083262..8c1dbab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -443,3 +443,25 @@ jobs: run: | cd __build__ ctest --output-on-failure --no-tests=error + + cuda-linux: + + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 + - uses: Jimver/cuda-toolkit@v0.2.4 + + - run: | + nvcc -x cu -I ./include -c test/mp11.cpp + + cuda-windows: + + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v2 + - uses: Jimver/cuda-toolkit@v0.2.4 + + - run: | + nvcc -x cu -I ./include -c test/mp11.cpp