Skip to content

Commit

Permalink
Fix UWP missing header (#955)
Browse files Browse the repository at this point in the history
* Fix UWP missing header.

* Add UWP validation build to Pipelines.
  • Loading branch information
BillyONeal committed Nov 7, 2018
1 parent 5027cab commit b72a910
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions Release/src/streams/fileio_winrt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
****/
#include "stdafx.h"
#include "cpprest/details/fileio.h"
#include "cpprest/interopstream.h"
#include "robuffer.h"

using namespace ::Windows::Foundation;
Expand Down
21 changes: 20 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,25 @@ jobs:
cd build.common\Release\Binaries\Release
.\test_runner.exe *test.dll
displayName: 'Run tests, release'
- job: Windows_VS2017_UWP
pool:
vmImage: 'vs2017-win2016'
steps:
- script: .\vcpkg\bootstrap-vcpkg.bat
displayName: Bootstrap vcpkg
- script: .\vcpkg\vcpkg.exe install zlib --triplet x64-uwp
displayName: vcpkg install dependencies
- script: mkdir build.common
displayName: Make Build Directory
- task: CMake@1
inputs:
workingDirectory: 'build.common'
cmakeArgs: '-A x64 -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 ..'
- task: MSBuild@1
inputs:
solution: 'build.common/ALL_BUILD.vcxproj'
maximumCpuCount: true
platform: 'x64'
- job: Windows_VS2015_x86
pool:
vmImage: 'vs2015-win2012r2'
Expand Down Expand Up @@ -302,4 +321,4 @@ jobs:
- script: |
cd Build_iOS
./configure.sh
displayName: 'Build for iOS'
displayName: 'Build for iOS'

0 comments on commit b72a910

Please sign in to comment.