Skip to content

Commit 9c94591

Browse files
committed
WIP
1 parent c0e1433 commit 9c94591

File tree

2 files changed

+17
-58
lines changed

2 files changed

+17
-58
lines changed

CMakeSettings.json

Lines changed: 0 additions & 52 deletions
This file was deleted.

azure-devops/build-windows.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,29 @@ jobs:
2323
vcpkgDirectory: '$(vcpkgLocation)'
2424
vcpkgTriplet: ${{ parameters.targetPlatform }}-windows
2525
- task: run-cmake@0
26-
displayName: 'Run CMake with Ninja'
26+
displayName: 'Run CMake with Ninja (Debug)'
2727
enabled: true
2828
inputs:
29-
cmakeListsTxtPath: 'CMakeSettings.json'
29+
cmakeListsOrSettingsJson: 'CMakeListsTxtBasic'
30+
cmakeBuildType: 'Debug'
3031
useVcpkgToolchainFile: true
31-
configurationRegexFilter: '.*${{ parameters.targetPlatform }}.*'
32-
buildDirectory: $(Build.ArtifactStagingDirectory)/${{ parameters.targetPlatform }}
32+
buildDirectory: $(Build.ArtifactStagingDirectory)/${{ parameters.targetPlatform }}_Debug
33+
cmakeBuildType: 'Release'
34+
buildWithCMakeArgs: '-DCPPREST_EXCLUDE_BROTLI=OFF'
3335
- script: |
34-
cd out\build\${{ parameters.targetPlatform }}_Release\Binaries\Debug
36+
cd $(Build.ArtifactStagingDirectory)\${{ parameters.targetPlatform }}_Debug\Binaries\Release
3537
.\test_runner.exe *testd.dll
3638
displayName: 'Run tests, debug'
39+
- task: run-cmake@0
40+
displayName: 'Run CMake with Ninja (Release)'
41+
enabled: true
42+
inputs:
43+
cmakeListsOrSettingsJson: 'CMakeListsTxtBasic'
44+
cmakeBuildType: 'Release'
45+
useVcpkgToolchainFile: true
46+
buildDirectory: $(Build.ArtifactStagingDirectory)/${{ parameters.targetPlatform }}_Release
47+
buildWithCMakeArgs: '-DCPPREST_EXCLUDE_BROTLI=OFF'
3748
- script: |
38-
cd out\build\${{ parameters.targetPlatform }}_Release\Binaries\Release
49+
cd $(Build.ArtifactStagingDirectory)\${{ parameters.targetPlatform }}_Release\Binaries\Release
3950
.\test_runner.exe *test.dll
4051
displayName: 'Run tests, release'

0 commit comments

Comments
 (0)