-
Notifications
You must be signed in to change notification settings - Fork 10
/
appveyor.yml
43 lines (35 loc) · 1.4 KB
/
appveyor.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
34
35
36
37
38
39
40
41
42
43
version: 0.1.{build}
skip_non_tags: true
image:
- Visual Studio 2017
- Ubuntu
platform:
- x64
cache:
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
- '%USERPROFILE%\AppData\Local\Yarn\cache'
init:
- git config --global core.autocrlf input
install:
- cmd: powershell Install-Product node 14 x64
- cmd: appveyor DownloadFile http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_451.48_win10.exe -FileName cuda.exe
- cmd: cuda.exe -s
- cmd: set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v11.0\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v11.0\libnvvp;%PATH%
- cmd: set "CUDA_PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v11.0"
- sh: nvm install 14
- sh: sudo apt-get update
- sh: sudo apt-get -y install freeglut3 freeglut3-dev libxi-dev libxmu-dev
- sh: sudo apt-get install gcc-6 g++-6 linux-headers-$(uname -r) nvidia-384 -y
- sh: wget http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux.run
- sh: sudo sh cuda_11.0.2_450.51.05_linux.run --silent --toolkit --override
- sh: export CUDA_PATH=/usr/local/cuda-11.0
- sh: export PATH="$PATH:/usr/local/cuda-11.0/bin"
- sh: export LD_LIBRARY_PATH=/usr/local/cuda-11.0/lib64\
${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
- git reset --hard HEAD
- npm i
- node --version
build_script:
- npm run deploy
test: off