https://github.com/NSchertler/GeneralizedMotorcycleGraph
Revision c6f0745fd894b1e0e9ed9ce63c2cdb5cf8e9131e authored by Nico Schertler on 09 July 2018, 14:51:40 UTC, committed by Nico Schertler on 09 July 2018, 14:51:40 UTC
1 parent 5786f05
Tip revision: c6f0745fd894b1e0e9ed9ce63c2cdb5cf8e9131e authored by Nico Schertler on 09 July 2018, 14:51:40 UTC
travis fix
travis fix
Tip revision: c6f0745
.appveyor.yml
version: 1.0.{build}
image: Visual Studio 2017
test: off
clone_folder: C:\projects\GeneralizedMotorcycleGraph
branches:
only:
- master
environment:
access_token:
secure: tiZie8oQ9NaxNf87TpXYZ0cE+3qKwfyOhF2YC84efQ0PfrfDZskXI05mrGtEdwMu
install:
- git submodule update --init --recursive
build_script:
- echo Running cmake...
- cd c:\projects\GeneralizedMotorcycleGraph
- mkdir build
- cd build
- cmake .. -G "Visual Studio 15 2017 Win64"
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- set MSBuildOptions=/v:m /p:Configuration=Release /logger:%MSBuildLogger%
- msbuild %MSBuildOptions% RegularMeshTexturing.sln
- cd bin/Release
- 7z a ../../../gmcg-windows.zip "RegularMeshTexturing.exe"
- cd ../../..
- appveyor PushArtifact gmcg-windows.zip -FileName gmcg-windows.zip
on_success:
- git config --global credential.helper store
- ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
- git config --global user.email "nico.schertler@tu-dresden.de"
- git config --global user.name "AppVeyor"
- git checkout --orphan deploy-windows
- git rm -r --cached .
- git add gmcg-windows.zip
- git commit -m "Windows Build"
- git push -f origin deploy-windows:deploy-windows
Computing file changes ...