Files
SabreTools/appveyor.yml

36 lines
648 B
YAML
Raw Normal View History

2018-06-21 22:06:51 -07:00
# version format
2020-07-26 19:11:41 -07:00
version: 1.0.2-test_{build}
2018-06-21 22:04:03 -07:00
2018-06-21 22:06:51 -07:00
# vm template
image: Visual Studio 2019
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: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:
- 7z a sabretools_%CONFIGURATION%-%PLATFORM%.zip SabreTools/bin/*
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))