mirror of
https://github.com/Haivision/srt.git
synced 2026-07-04 15:07:49 +00:00
28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
YAML
configuration:
|
|
- Release
|
|
- Debug
|
|
|
|
image:
|
|
- Visual Studio 2022
|
|
- Visual Studio 2019
|
|
- Visual Studio 2015
|
|
|
|
platform:
|
|
- x64
|
|
- x86
|
|
|
|
build_script:
|
|
- ps: $VSIMG = $Env:APPVEYOR_BUILD_WORKER_IMAGE; $CNFG = $Env:CONFIGURATION
|
|
# use a few differing arguments depending on VS version to exercise different options during builds
|
|
- ps: if ($CNFG -eq "Release") { .\scripts\build-windows.ps1 -STATIC_LINK_SSL ON -BUILD_APPS ON -UNIT_TESTS ON -BONDING ON}
|
|
- ps: if ($CNFG -eq "Debug") { if ($VSIMG -match '2015') { .\scripts\build-windows.ps1 -STATIC_LINK_SSL ON -BUILD_APPS OFF } else {.\scripts\build-windows.ps1 -STATIC_LINK_SSL ON -BUILD_APPS ON }}
|
|
|
|
test_script:
|
|
- ps: if ( $Env:RUN_UNIT_TESTS ) { cd ./_build; ctest -E "TestIPv6.v6_calls_v4" --extra-verbose -C $Env:CONFIGURATION; cd ../ }
|
|
|
|
after_build:
|
|
- cmd: >-
|
|
scripts/gather-package.bat
|
|
7z a SRT-%APPVEYOR_REPO_BRANCH%-%CONFIGURATION%-Win%PLATFORM%-%VS_VERSION%-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\package\*
|
|
appveyor PushArtifact SRT-%APPVEYOR_REPO_BRANCH%-%CONFIGURATION%-Win%PLATFORM%-%VS_VERSION%-%APPVEYOR_BUILD_VERSION%.zip
|