Revision a34738fe34a051760b4042dc9d740231e511fec1 authored by Nico Schertler on 31 October 2020, 07:04:57 UTC, committed by GitHub on 31 October 2020, 07:04:57 UTC
1 parent c27c02a
.appveyor.yml
version: 1.0.{build}
image: Visual Studio 2017
test: off
clone_folder: C:\projects\GeneralizedMotorcycleGraph
branches:
only:
- master
environment:
access_token:
secure: 6gyL3wsRIt49AiASzpAT+BdUmr+vGvQ0oo7mnQoQWfWQ0n8ykhAGFT+brWJCOsGE
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 ...