-
Notifications
You must be signed in to change notification settings - Fork 40
33 lines (30 loc) · 1.09 KB
/
windows_build.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
30
31
32
33
name: Build Windows
on:
push:
branches-ignore:
- '**'
pull_request:
branches-ignore:
- '**'
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Install Chocolatey
run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
shell: powershell
- name: Install CURL
run: choco install -y curl
- name: Download CUDA
run: curl http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_441.22_win10.exe --output cuda_10.2.89_441.22_win10.exe
- name: Install CUDA
run: cuda_10.2.89_441.22_win10.exe -s
shell: cmd
- name: Check CUDA
run: dir "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA"
- name: Install OpenGL dependencies
run: vcpkg install glew glfw3 glm
shell: powershell
- name: configure
run: mkdir build && cd build