diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 343fb15..c414897 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -7,7 +7,7 @@ on: branches: [ "main" ] jobs: - build: + build-sequential: runs-on: ubuntu-latest @@ -19,16 +19,17 @@ jobs: - name: make sequential run: make sequential - # - name: cuda-toolkit - # uses: Jimver/cuda-toolkit@v0.2.11 - # id: cuda-toolkit - # with: - # cuda: '12.1.0' - # run: nvcc -V - - # - name: make parallel - # uses: Jimver/cuda-toolkit@v0.2.11 - # id: cuda-toolkit - # with: - # cuda: '12.1.0' - # run: make parallel \ No newline at end of file + build-cuda: + runs-on: ubuntu-latest + + steps: + - uses: Jimver/cuda-toolkit@v0.2.11 + id: cuda-toolkit + with: + cuda: '12.1.0' + + - run: echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}" + + - run: echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}" + + - run: nvcc -V \ No newline at end of file