diff options
author | Joel Andres Granados <joel.granados@gmail.com> | 2019-09-09 16:37:29 +0200 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2019-09-09 07:37:29 -0700 |
commit | 84e322738beb2fc64f90f05985413ae5420ebd8c (patch) | |
tree | db42b9b6eed6e628bb5af65653ff7e0517235349 /appveyor.yml | |
parent | fdf02957533645069bbea7cd2ed85a3014b42cf3 (diff) | |
download | pugixml-84e322738beb2fc64f90f05985413ae5420ebd8c.zip pugixml-84e322738beb2fc64f90f05985413ae5420ebd8c.tar.gz pugixml-84e322738beb2fc64f90f05985413ae5420ebd8c.tar.bz2 |
Update nuget creation to VS2019 (#291)
Create visual studio projects that are vs2019 compliant.
* nuget_build.ps1 :
Introduce a new argument that will define how we implement the nuget
build. For now we accept 201{9,7.5.3} as possible argument values.
* pugixml_vs2019{,_static}.vcxproj :
Add two visual studio projects that build pugi with the latest SDK and
build tools
* appveyor.yml
- Add Visual Studio 2019 to build targets
- Add Visual Studio 201{9,3,5} to build_scripts. And call
nuget_build.ps1 with a new argument.
- Add Visual Studio 2019 to the test_scripts.
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml index 29295e7..4c636a0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,15 +1,20 @@ image: - - Visual Studio 2015 + - Visual Studio 2019 - Visual Studio 2017 + - Visual Studio 2015 version: "{branch}-{build}" build_script: - - ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2017") { .\scripts\nuget_build.ps1 } + - 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} test_script: - 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 } + - ps: if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2019") { .\tests\autotest-appveyor.ps1 19 } - 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 config=coverage test && bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov" } - 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 config=coverage defines=PUGIXML_WCHAR_MODE test && bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov" } |