Skip to content

Using the variable CUDA-ARCH instead of hard coding #16

Using the variable CUDA-ARCH instead of hard coding

Using the variable CUDA-ARCH instead of hard coding #16

name: CUDA CI on Windows
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up MSVC environment
uses: ilammy/[email protected]
- name: Install CUDA
run: |
choco install cuda --version=11.2.2.46133
- name: add CUDA to path
run: |
$env:Path += ";C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin"
nvcc --version
- name: Build project
run: |
cd src && make