solvespace/appveyor.yml

30 lines
1.3 KiB
YAML
Raw Normal View History

2018-07-12 21:45:50 +00:00
version: '{build}'
2016-04-19 12:19:00 +00:00
clone_depth: 1
before_build:
2015-09-13 11:19:15 +00:00
- git submodule update --init
2016-04-19 12:19:00 +00:00
- set tag=x%APPVEYOR_REPO_TAG_NAME%
- if %tag:~,2% == xv (set BUILD_TYPE=RelWithDebInfo) else (set BUILD_TYPE=Debug)
2018-07-12 21:45:50 +00:00
- mkdir build
- cmake -G"Visual Studio 14" -Tv140 -Bbuild -H.
2016-04-19 12:19:00 +00:00
build_script:
2018-07-12 21:45:50 +00:00
- msbuild "build\src\solvespace.vcxproj" /verbosity:minimal /property:Configuration=%BUILD_TYPE% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild "build\src\solvespace-cli.vcxproj" /verbosity:minimal /property:Configuration=%BUILD_TYPE% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- msbuild "build\test\solvespace-testsuite.vcxproj" /verbosity:minimal /property:Configuration=%BUILD_TYPE% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
2018-07-12 21:45:50 +00:00
- build\bin\%BUILD_TYPE%\solvespace-testsuite.exe
2015-09-13 11:19:15 +00:00
artifacts:
- path: build\bin\%BUILD_TYPE%\solvespace.exe
2015-09-13 11:19:15 +00:00
name: solvespace.exe
- path: build\bin\%BUILD_TYPE%\solvespace-cli.exe
name: solvespace-cli.exe
- path: build\bin\%BUILD_TYPE%\solvespace.pdb
2015-09-13 11:19:15 +00:00
name: solvespace.pdb
deploy:
- provider: GitHub
auth_token:
secure: P9/pf2nM+jlWKe7pCjMp41HycBNP/+5AsmE/TETrDUoBOa/9WFHelqdVFrbRn9IC
description: ""
artifact: solvespace.exe,solvespace-cli.exe,solvespace.pdb
2015-09-13 11:19:15 +00:00
on:
appveyor_repo_tag: true