2017-04-15 06:54:35 +00:00
|
|
|
# Appveyor's documentation is at https://www.appveyor.com/docs/build-phase/,
|
|
|
|
# and a sample configuration file is at https://www.appveyor.com/docs/appveyor-yml/.
|
|
|
|
# I have to admit its a bit complex and I don't fully understand it.
|
|
|
|
|
|
|
|
version: 1.0.{build}
|
2019-10-14 10:08:38 +00:00
|
|
|
clone_depth: 5
|
2017-08-03 07:48:16 +00:00
|
|
|
skip_tags: true
|
2017-08-02 04:19:59 +00:00
|
|
|
|
2017-04-15 08:15:06 +00:00
|
|
|
configuration:
|
|
|
|
|
|
|
|
- Debug
|
|
|
|
- Release
|
|
|
|
|
|
|
|
platform:
|
|
|
|
|
|
|
|
- Win32
|
2017-08-02 04:19:59 +00:00
|
|
|
- x64
|
2017-04-15 08:15:06 +00:00
|
|
|
|
2017-04-16 19:10:20 +00:00
|
|
|
image:
|
|
|
|
|
2022-08-28 22:47:42 +00:00
|
|
|
- Visual Studio 2022
|
2019-10-14 10:08:38 +00:00
|
|
|
- Visual Studio 2019
|
2017-04-16 19:10:20 +00:00
|
|
|
- Visual Studio 2017
|
|
|
|
- Visual Studio 2015
|
|
|
|
- Visual Studio 2013
|
|
|
|
|
2017-08-23 20:13:20 +00:00
|
|
|
environment:
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
|
|
|
|
- BUILD_MODE: MSBuild
|
|
|
|
|
2017-08-04 23:11:16 +00:00
|
|
|
# Disable build through solution file
|
2017-08-02 08:32:18 +00:00
|
|
|
build: off
|
2017-04-15 06:54:35 +00:00
|
|
|
|
2017-08-04 23:11:16 +00:00
|
|
|
# Build through commands in script below
|
2017-04-15 06:54:35 +00:00
|
|
|
test_script:
|
|
|
|
|
2017-08-23 20:13:20 +00:00
|
|
|
- ps: >-
|
|
|
|
|
2017-09-17 01:23:35 +00:00
|
|
|
msbuild /t:Build /p:platform="$env:platform" /p:configuration="$env:configuration" cryptlib.vcxproj
|
2017-08-23 20:13:20 +00:00
|
|
|
|
2017-09-17 01:23:35 +00:00
|
|
|
msbuild /t:Build /p:platform="$env:platform" /p:configuration="$env:configuration" cryptest.vcxproj
|
2017-08-23 20:13:20 +00:00
|
|
|
|
2017-09-17 01:23:35 +00:00
|
|
|
msbuild /t:CopyCryptestToRoot cryptest.vcxproj
|
2017-08-23 20:13:20 +00:00
|
|
|
|
2017-09-17 01:23:35 +00:00
|
|
|
.\cryptest.exe v
|
2017-08-23 20:13:20 +00:00
|
|
|
|
2017-09-17 01:23:35 +00:00
|
|
|
.\cryptest.exe tv all
|
2017-04-16 19:57:46 +00:00
|
|
|
|
2017-05-31 08:36:31 +00:00
|
|
|
notifications:
|
2017-08-04 23:11:16 +00:00
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- cryptopp-build@googlegroups.com
|
|
|
|
on_build_success: true
|
|
|
|
on_build_failure: true
|