Skip to content

Update makefile.yml

Update makefile.yml #3

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: Jimver/cuda-toolkit@v0.2.15
id: cuda-toolkit
with:
cuda: '12.4.1'
sub-packages: [nvcc]# optional, default is []

Check failure on line 20 in .github/workflows/makefile.yml

View workflow run for this annotation

GitHub Actions / Makefile CI

Invalid workflow file

The workflow is not valid. .github/workflows/makefile.yml (Line: 20, Col: 23): A sequence was not expected
- 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
- uses: actions/checkout@v4
- name: make
run: |
make
./raytracer