Skip to content

Commit

Permalink
workflow trial
Browse files Browse the repository at this point in the history
  • Loading branch information
eliazonta committed Sep 21, 2023
1 parent 88bcce3 commit 1fa9c9d
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "main" ]

jobs:
build:
build-sequential:

runs-on: ubuntu-latest

Expand All @@ -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
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

0 comments on commit 1fa9c9d

Please sign in to comment.