forked from Autodesk/Neon
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 910 Bytes
/
Windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Windows
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
workflow_dispatch:
jobs:
WindowsRun:
runs-on: windows-2019
steps:
- uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '11.7.0'
linux-local-args: '["--toolkit"]'
- run: nvcc -V
- name: Checkout
uses: actions/checkout@v2
- name: Create build directory
run: mkdir ${{github.workspace}}/build
- name: Configure CMake
working-directory: ${{github.workspace}}/build
run: cmake ../
- name: Run VS
run: cmake --build ${{github.workspace}}/build --clean-first --config Release -j 4
- name: Run Test
working-directory: ${{github.workspace}}/build
run: ctest --no-compress-output --output-on-failure -T Test --build-config Release