Files
SabreTools/appveyor.yml

37 lines
658 B
YAML
Raw Normal View History

2018-06-21 22:06:51 -07:00
# version format
2018-06-21 21:41:28 -07:00
version: 0.9.9-test_{build}
2018-06-21 22:04:03 -07:00
2018-06-21 22:06:51 -07:00
# vm template
2018-06-21 21:41:28 -07:00
image: Visual Studio 2017
2018-06-21 22:04:03 -07:00
2018-06-21 22:06:51 -07:00
# environment variables
2018-06-21 21:41:28 -07:00
environment:
EnableNuGetPackageRestore: true
2018-06-21 22:04:03 -07:00
2018-06-21 22:06:51 -07:00
# msbuild configuration
2018-06-21 21:41:28 -07:00
platform:
- x64
configuration:
- Debug
2018-06-21 22:18:58 -07:00
- Mono
2018-06-21 22:06:51 -07:00
# install dependencies
2018-06-21 21:41:28 -07:00
install:
- ps: appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
2018-06-21 22:06:51 -07:00
# pre-build script
2018-06-21 21:41:28 -07:00
before_build:
2018-06-21 22:16:32 -07:00
- nuget restore
2018-06-21 22:06:51 -07:00
# build step
2018-06-21 21:41:28 -07:00
build:
verbosity: minimal
2018-06-21 22:06:51 -07:00
# post-build step
2018-06-21 22:04:03 -07:00
after_build:
2018-06-21 22:16:32 -07:00
- 7z a sabretools_%CONFIGURATION%-%PLATFORM%.zip C:\projects\Debug*\
2018-06-21 22:06:51 -07:00
# artifact linking
artifacts:
- path: sabretools_$(configuration)-$(platform).zip
2018-06-21 22:06:51 -07:00
name: SabreTools ($(platform))