-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using permissive- with ZW which breaks VS2019 (#1248)
* Also add VS2019 configurations to Azure Pipelines. * Also turn on vcpkg caching from @lukka
- Loading branch information
1 parent
ce96a31
commit c4f37e7
Showing
6 changed files
with
96 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
[submodule "vcpkg"] | ||
path = vcpkg | ||
url = https://github.com/Microsoft/vcpkg | ||
[submodule "websocketspp"] | ||
[submodule "websocketpp"] | ||
path = Release/libs/websocketpp | ||
url = https://github.com/zaphoyd/websocketpp/ | ||
fetchRecurseSubmodules = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
parameters: | ||
name: 'Windows_VS2019_x86' | ||
targetPlatform: 'x86' | ||
image: 'windows-latest' | ||
|
||
jobs: | ||
- job: ${{ parameters.name }} | ||
pool: | ||
vmImage: ${{ parameters.image }} | ||
variables: | ||
vcpkgLocation: '$(Build.SourcesDirectory)/vcpkg' | ||
vcpkgResponseFile: $(Build.SourcesDirectory)/azure-devops/vcpkg-windows.txt | ||
steps: | ||
- task: CacheBeta@0 | ||
displayName: Cache vcpkg | ||
inputs: | ||
key: $(vcpkgResponseFile) | $(Build.SourcesDirectory)/.git/modules/vcpkg/HEAD | ${{ parameters.targetPlatform }} | ${{ parameters.image }} | ||
path: '$(vcpkgLocation)' | ||
- task: run-vcpkg@0 | ||
displayName: 'Run vcpkg' | ||
inputs: | ||
vcpkgArguments: '@$(vcpkgResponseFile)' | ||
vcpkgDirectory: '$(vcpkgLocation)' | ||
vcpkgTriplet: ${{ parameters.targetPlatform }}-windows | ||
- task: run-cmake@0 | ||
displayName: 'Run CMake with Ninja (Debug)' | ||
enabled: true | ||
inputs: | ||
cmakeListsOrSettingsJson: 'CMakeListsTxtBasic' | ||
cmakeBuildType: 'Debug' | ||
useVcpkgToolchainFile: true | ||
buildDirectory: $(Build.ArtifactStagingDirectory)/${{ parameters.targetPlatform }}_Debug | ||
cmakeAppendedArgs: '-DCPPREST_EXCLUDE_BROTLI=OFF' | ||
- script: | | ||
cd $(Build.ArtifactStagingDirectory)\${{ parameters.targetPlatform }}_Debug\Release\Binaries | ||
.\test_runner.exe *testd.dll | ||
displayName: 'Run tests, debug' | ||
- task: run-cmake@0 | ||
displayName: 'Run CMake with Ninja (Release)' | ||
enabled: true | ||
inputs: | ||
cmakeListsOrSettingsJson: 'CMakeListsTxtBasic' | ||
cmakeBuildType: 'Release' | ||
useVcpkgToolchainFile: true | ||
buildDirectory: $(Build.ArtifactStagingDirectory)/${{ parameters.targetPlatform }}_Release | ||
cmakeAppendedArgs: '-DCPPREST_EXCLUDE_BROTLI=OFF' | ||
- script: | | ||
cd $(Build.ArtifactStagingDirectory)\${{ parameters.targetPlatform }}_Release\Release\Binaries | ||
.\test_runner.exe *test.dll | ||
displayName: 'Run tests, release' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
openssl | ||
boost-system | ||
boost-date-time | ||
boost-regex | ||
boost-interprocess | ||
websocketpp | ||
brotli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule vcpkg
updated
2349 files