Skip to content

workflow trial

workflow trial #12

Workflow file for this run

name: C/C++/CUDA Binary build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-sequential:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make clean
run: make clean
- name: make sequential
run: make sequential
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}}"

Check failure on line 31 in .github/workflows/c-cpp.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/c-cpp.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
- run: echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
- run: nvcc -V