Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testing with VS2015 and VS2017 compilers. #15257

Merged
merged 3 commits into from
Dec 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/azure-pipelines/windows/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 -DCMAKE_GENERATOR_TOOLSET=v140 -DBUILD_TESTING=OFF -DVCPKG_DEVELOPMENT_WARNINGS=OFF -DVCPKG_WARNINGS_AS_ERRORS=OFF -DVCPKG_BUILD_FUZZING=OFF -B build.x86.vs2015 -S toolsrc
BillyONeal marked this conversation as resolved.
Show resolved Hide resolved
cmake --build build.x86.vs2015
cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_GENERATOR_TOOLSET=v141 -DBUILD_TESTING=OFF -DVCPKG_DEVELOPMENT_WARNINGS=OFF -DVCPKG_WARNINGS_AS_ERRORS=OFF -DVCPKG_BUILD_FUZZING=OFF -B build.x86.vs2017 -S toolsrc
BillyONeal marked this conversation as resolved.
Show resolved Hide resolved
cmake --build build.x86.vs2017
failOnStderr: true
- task: PowerShell@2
displayName: 'Run vcpkg end-to-end tests'
Expand Down