Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppVeyor: Build with Visual Studio 2017, cleanup #775

Closed
wants to merge 9 commits into from
18 changes: 5 additions & 13 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
version: '1.0.{build}'

image: Visual Studio 2015
image: Visual Studio 2017
configuration: Release

branches:
only:
- master
- develop # PRs are built

platform:
- x64

# environment:
# APPVEYOR_SAVE_CACHE_ON_ERROR: true

configuration:
- Release
# - Debug

install:
- git submodule update --init --recursive
- cmd: >-
Expand All @@ -36,15 +28,15 @@ install:
eigen3
ceres[suitesparse]
cuda
--triplet %PLATFORM%-windows
--triplet x64-windows
--recurse
- vcpkg list

before_build:
- cd %APPVEYOR_BUILD_FOLDER%
- md build
- cd build
- cmake .. -G "Visual Studio 14 2015 Win64"
- cmake .. -A x64
-DCMAKE_BUILD_TYPE=%CONFIGURATION%
-DALICEVISION_USE_INTERNAL_CERES:BOOL=OFF
-DALICEVISION_USE_CUDA:BOOL=ON
Expand All @@ -53,7 +45,7 @@ before_build:
- ls -l

build:
project: $(APPVEYOR_BUILD_FOLDER)\build\aliceVision.sln
project: build\aliceVision.sln
verbosity: minimal

#comment the above and uncomment the following to just build the dependencies
Expand Down
6 changes: 3 additions & 3 deletions cudaInstallAppveyor.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

set CUDA_VERSION_MAJOR=9
set CUDA_VERSION_MINOR=2
set CUDA_VERSION_MICRO=88
set OS_PLATFORM=windows
set CUDA_VERSION_MICRO=148
set OS_PLATFORM=win10

set CUDA_VERSION=%CUDA_VERSION_MAJOR%.%CUDA_VERSION_MINOR%
set CUDA_VERSION_FULL=%CUDA_VERSION%.%CUDA_VERSION_MICRO%
set CUDA_SDK_FILENAME=cuda_%CUDA_VERSION_FULL%_%OS_PLATFORM%
set CUDA_SDK_URL=https://developer.nvidia.com/compute/cuda/%CUDA_VERSION%/Prod/local_installers/%CUDA_SDK_FILENAME%
set CUDA_SDK_URL=https://developer.nvidia.com/compute/cuda/%CUDA_VERSION%/Prod2/local_installers2/%CUDA_SDK_FILENAME%

echo Downloading CUDA toolkit %CUDA_VERSION_FULL%
echo -- url: %CUDA_SDK_URL%
Expand Down