Skip to content

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

Using the variable CUDA-ARCH instead of hard coding

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

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: |
SET "PATH=%PATH%;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\bin"
- name: check CUDA version
run: |
nvcc -v
- name: Build project
run: |
cd src && make