forked from rlguy/Blender-FLIP-Fluids
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
631b03f
commit d398135
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
image: Visual Studio 2017 | ||
|
||
platform: x64 #CUDA stuff seems to only be available on x64 | ||
|
||
environment: | ||
matrix: | ||
- target: x64 | ||
- target: Win32 | ||
|
||
configuration: Release | ||
|
||
# on_finish: | ||
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) | ||
|
||
before_build: | ||
- cmd: call install-cuda.cmd | ||
|
||
build_script: | ||
cmd: | | ||
cmake -G "Visual Studio 15 2017" -A %target% . | ||
cmake --build . --config Release | ||
cd bl_flip_fluids | ||
7z a flip_fluids_addon.zip flip_fluids_addon | ||
test: off | ||
|
||
artifacts: | ||
- path: bl_flip_fluids/flip_fluids_addon.zip | ||
name: Addon zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
rem stolen from https://github.com/willyd/appveyor-cuda-test - thanks man | ||
echo Downloading CUDA toolkit 10 | ||
appveyor DownloadFile https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda_10.0.130_411.31_win10 -FileName cuda_10.0.130_411.31_win10.exe | ||
echo Installing CUDA toolkit 10 | ||
cuda_10.0.130_411.31_win10.exe -s nvcc_10.0 | ||
|
||
dir "%ProgramFiles%" | ||
dir "C:\Program Files" | ||
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA" | ||
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0" | ||
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin" | ||
|
||
set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;%PATH% | ||
|
||
nvcc -V |