From bb250fac0fb15b45b52d72dbde4d77a047c84c26 Mon Sep 17 00:00:00 2001 From: "Billy O'Neal (VC LIBS)" Date: Tue, 6 Nov 2018 21:21:22 -0800 Subject: [PATCH 1/2] Fix UWP missing header. --- Release/src/streams/fileio_winrt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Release/src/streams/fileio_winrt.cpp b/Release/src/streams/fileio_winrt.cpp index 1a206b4e74..65723af3b3 100644 --- a/Release/src/streams/fileio_winrt.cpp +++ b/Release/src/streams/fileio_winrt.cpp @@ -17,6 +17,7 @@ ****/ #include "stdafx.h" #include "cpprest/details/fileio.h" +#include "cpprest/interopstream.h" #include "robuffer.h" using namespace ::Windows::Foundation; From efe2c0b6d53205020040228460244f3d66250fbe Mon Sep 17 00:00:00 2001 From: "Billy O'Neal (VC LIBS)" Date: Tue, 6 Nov 2018 21:47:38 -0800 Subject: [PATCH 2/2] Add UWP validation build to Pipelines. --- azure-pipelines.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 993b92accf..6e3bf3b299 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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' @@ -302,4 +321,4 @@ jobs: - script: | cd Build_iOS ./configure.sh - displayName: 'Build for iOS' \ No newline at end of file + displayName: 'Build for iOS'