Try to build 64bit appveyor

This commit is contained in:
Benau 2017-04-03 09:20:14 +08:00
parent 19f88e3939
commit 6bc935d085

View File

@ -8,8 +8,8 @@ clone_depth: 1
shallow_clone: true shallow_clone: true
platform: platform:
- x86 # - x86
#- x64 - x64
configuration: configuration:
- Debug - Debug
@ -18,15 +18,15 @@ configuration:
matrix: matrix:
fast_finish: true fast_finish: true
cache: #cache:
- '%DEPS_DIR%' # - '%DEPS_DIR%'
#- '%ASSETS_DIR%' #- '%ASSETS_DIR%'
install: install:
- ps: >- - ps: >-
If(!(Test-Path "$env:DEPS_DIR")) { If(!(Test-Path "$env:DEPS_DIR")) {
Write-Host "Downloading dependencies"; Write-Host "Downloading dependencies";
Start-Process -FilePath "git" -ArgumentList "clone --branch master --single-branch --depth 1 https://github.com/supertuxkart/dependencies.git $env:DEPS_DIR" -Wait; Start-Process -FilePath "git" -ArgumentList "clone --branch adv_recording_64 --single-branch --depth 1 https://github.com/supertuxkart/dependencies.git $env:DEPS_DIR" -Wait;
} }
Else { Else {
Write-Host "Updating dependencies"; Write-Host "Updating dependencies";
@ -45,11 +45,11 @@ install:
#Get-ChildItem $env:ASSETS_DIR | Measure-Object -property length -sum #Get-ChildItem $env:ASSETS_DIR | Measure-Object -property length -sum
before_build: before_build:
- ps: Copy-Item "${env:DEPS_DIR}\windows\dependencies" c:\projects\stk-code\dependencies Recurse - ps: Copy-Item "${env:DEPS_DIR}\windows_64bit\dependencies" c:\projects\stk-code\dependencies Recurse
- cmd: | - cmd: |
md build md build
cd build cd build
if "%platform%"=="x86" set CMAKE_GENERATOR_NAME="Visual Studio 14 2015" if "%platform%"=="x64" set CMAKE_GENERATOR_NAME="Visual Studio 14 2015 Win64"
cmake -G %CMAKE_GENERATOR_NAME% -DCMAKE_BUILD_TYPE="%configuration%" .. -DCHECK_ASSETS=OFF cmake -G %CMAKE_GENERATOR_NAME% -DCMAKE_BUILD_TYPE="%configuration%" .. -DCHECK_ASSETS=OFF
build: build: