Files
SabreTools/appveyor.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

2018-06-21 22:06:51 -07:00
# version format
2021-01-14 15:17:18 -08:00
version: 1.0.7-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
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:
2020-12-11 13:15:39 -08:00
- cd SabreTools\bin\Debug
- 7z a SabreTools_netcoreapp3.1.zip netcoreapp3.1\*
- 7z a SabreTools_net5.0.zip net5.0\*
- cd ..\..\..\RombaSharp\bin\Debug
- 7z a RombaSharp_netcoreapp3.1.zip netcoreapp3.1\*
- 7z a RombaSharp_net5.0.zip net5.0\*
2018-06-21 22:06:51 -07:00
2020-12-18 14:55:39 -08:00
# testing step
test:
assemblies:
2020-12-18 15:12:51 -08:00
- SabreTools.Test.dll
2020-12-18 14:55:39 -08:00
2018-06-21 22:06:51 -07:00
# artifact linking
artifacts:
2020-12-11 13:15:39 -08:00
- path: SabreTools\bin\Debug\SabreTools_netcoreapp3.1.zip
name: SabreTools (.NET Core 3.1)
- path: SabreTools\bin\Debug\SabreTools_net5.0.zip
name: SabreTools (.NET 5.0)
- path: RombaSharp\bin\Debug\RombaSharp_netcoreapp3.1.zip
name: RombaSharp (.NET Core 3.1)
- path: RombaSharp\bin\Debug\RombaSharp_net5.0.zip
name: RombaSharp (.NET 5.0)