aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-12-28 17:51:22 -0800
committerGitHub <noreply@github.com>2020-12-28 17:51:22 -0800
commit6d84d56cd5ebc4c61ad093bd4de803ac3fea412f (patch)
tree2ee22115ffe296b75cf5c120de1cecdc5fc4b2f1 /scripts
parentec58d649c18a56507468e47ea69c51a917d18052 (diff)
downloadvcpkg-6d84d56cd5ebc4c61ad093bd4de803ac3fea412f.tar.gz
vcpkg-6d84d56cd5ebc4c61ad093bd4de803ac3fea412f.zip
Add testing with VS2015 and VS2017 compilers. (#15257)
* Add testing with VS2015 and VS2017 compilers. * Apply Nicole CRs.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/azure-pipelines/windows/azure-pipelines.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/azure-pipelines/windows/azure-pipelines.yml b/scripts/azure-pipelines/windows/azure-pipelines.yml
index b9bf49e22..f680ac205 100644
--- a/scripts/azure-pipelines/windows/azure-pipelines.yml
+++ b/scripts/azure-pipelines/windows/azure-pipelines.yml
@@ -26,7 +26,7 @@ jobs:
- script: .\bootstrap-vcpkg.bat
displayName: 'Build vcpkg'
- task: CmdLine@2
- displayName: "Build vcpkg with CMake and Run Tests"
+ displayName: "Build vcpkg with CMake, with older VS, and Run Tests"
condition: eq('${{ parameters.triplet }}', 'x86-windows')
inputs:
script: |
@@ -39,6 +39,10 @@ jobs:
cmake.exe -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DVCPKG_DEVELOPMENT_WARNINGS=ON -DVCPKG_WARNINGS_AS_ERRORS=ON -DVCPKG_BUILD_FUZZING=ON -B build.x86.debug -S toolsrc
ninja.exe -C build.x86.debug
build.x86.debug\vcpkg-test.exe
+ cmake -G "Visual Studio 16 2019" -A Win32 -T v140 -DBUILD_TESTING=OFF -DVCPKG_DEVELOPMENT_WARNINGS=OFF -DVCPKG_WARNINGS_AS_ERRORS=ON -DVCPKG_BUILD_FUZZING=OFF -B build.x86.vs2015 -S toolsrc
+ cmake --build build.x86.vs2015
+ cmake -G "Visual Studio 16 2019" -A Win32 -T v141 -DBUILD_TESTING=OFF -DVCPKG_DEVELOPMENT_WARNINGS=OFF -DVCPKG_WARNINGS_AS_ERRORS=ON -DVCPKG_BUILD_FUZZING=OFF -B build.x86.vs2017 -S toolsrc
+ cmake --build build.x86.vs2017
failOnStderr: true
- task: PowerShell@2
displayName: 'Run vcpkg end-to-end tests'