Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
BillyONeal committed Sep 27, 2019
1 parent c0e1433 commit 65095fe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 58 deletions.
52 changes: 0 additions & 52 deletions CMakeSettings.json

This file was deleted.

22 changes: 16 additions & 6 deletions azure-devops/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,28 @@ jobs:
vcpkgDirectory: '$(vcpkgLocation)'
vcpkgTriplet: ${{ parameters.targetPlatform }}-windows
- task: run-cmake@0
displayName: 'Run CMake with Ninja'
displayName: 'Run CMake with Ninja (Debug)'
enabled: true
inputs:
cmakeListsTxtPath: 'CMakeSettings.json'
cmakeListsOrSettingsJson: 'CMakeListsTxtBasic'
cmakeBuildType: 'Debug'
useVcpkgToolchainFile: true
configurationRegexFilter: '.*${{ parameters.targetPlatform }}.*'
buildDirectory: $(Build.ArtifactStagingDirectory)/${{ parameters.targetPlatform }}
buildDirectory: $(Build.ArtifactStagingDirectory)/${{ parameters.targetPlatform }}_Debug
buildWithCMakeArgs: '-DCPPREST_EXCLUDE_BROTLI=OFF'
- script: |
cd out\build\${{ parameters.targetPlatform }}_Release\Binaries\Debug
cd $(Build.ArtifactStagingDirectory)\${{ parameters.targetPlatform }}_Debug\Binaries\Release
.\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
buildWithCMakeArgs: '-DCPPREST_EXCLUDE_BROTLI=OFF'
- script: |
cd out\build\${{ parameters.targetPlatform }}_Release\Binaries\Release
cd $(Build.ArtifactStagingDirectory)\${{ parameters.targetPlatform }}_Release\Binaries\Release
.\test_runner.exe *test.dll
displayName: 'Run tests, release'

0 comments on commit 65095fe

Please sign in to comment.