2023-11-16 12:09:18 -08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
2017-06-15 11:49:10 +03:00
|
|
|
image:
|
2022-01-21 15:44:39 +01:00
|
|
|
- Visual Studio 2022
|
2019-09-09 16:37:29 +02:00
|
|
|
- Visual Studio 2019
|
2017-06-18 21:21:58 -07:00
|
|
|
- Visual Studio 2017
|
2019-09-09 16:37:29 +02:00
|
|
|
- Visual Studio 2015
|
2017-06-15 11:14:28 +03:00
|
|
|
|
2015-04-13 20:38:52 -07:00
|
|
|
version: "{branch}-{build}"
|
2015-04-13 20:03:49 -07:00
|
|
|
|
|
|
|
build_script:
|
2019-09-09 16:37:29 +02:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2013") { .\scripts\nuget_build.ps1 2013}
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { .\scripts\nuget_build.ps1 2015}
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017") { .\scripts\nuget_build.ps1 2017}
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2019") { .\scripts\nuget_build.ps1 2019}
|
2022-01-21 15:44:39 +01:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2022") { .\scripts\nuget_build.ps1 2022}
|
2015-10-18 21:10:45 -07:00
|
|
|
|
|
|
|
test_script:
|
2024-10-30 12:32:23 -07:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { .\tests\cmake-appveyor.ps1 9 2008 }
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { .\tests\cmake-appveyor.ps1 12 2013 }
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { .\tests\cmake-appveyor.ps1 14 2015 }
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017") { .\tests\cmake-appveyor.ps1 15 2017 }
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2019") { .\tests\cmake-appveyor.ps1 16 2019 }
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2022") { .\tests\cmake-appveyor.ps1 17 2022 }
|
|
|
|
|
2017-06-18 21:21:58 -07:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { .\tests\autotest-appveyor.ps1 9 10 11 12 14 }
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017") { .\tests\autotest-appveyor.ps1 15 }
|
2019-09-09 16:37:29 +02:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2019") { .\tests\autotest-appveyor.ps1 19 }
|
2022-01-21 15:44:39 +01:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2022") { .\tests\autotest-appveyor.ps1 22 }
|
2024-10-30 12:32:23 -07:00
|
|
|
|
2023-11-16 12:12:56 -08:00
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { & C:\cygwin\bin\bash.exe -c "PATH=/usr/bin:/usr/local/bin:$PATH; make -j2 config=coverage test && bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov 2>&1" }
|
|
|
|
- ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015") { & C:\cygwin\bin\bash.exe -c "PATH=/usr/bin:/usr/local/bin:$PATH; make -j2 config=coverage defines=PUGIXML_WCHAR_MODE test && bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov 2>&1" }
|
2015-10-18 21:10:45 -07:00
|
|
|
|
|
|
|
artifacts:
|
2017-06-18 21:21:58 -07:00
|
|
|
- path: .\scripts\*.nupkg
|