From 6525990b849ac4d0a12081cfcb5e624f9d5c40b4 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 25 Nov 2021 00:41:39 +0800 Subject: [PATCH] Download and extract DX SDK --- azure-pipelines.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fcd056b32..205270b5b 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -88,10 +88,16 @@ jobs: inputs: key: 'hunter-win2019-x64-rel' path: "c:/.hunter/_Base/Cache" + - task: CmdLine@2 + inputs: + script: | + wget https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe + 7z x DXSDK_Jun10.exe -oC:\ -r -y + del DXSDK_Jun10.exe - task: CMake@1 inputs: workingDirectory: build.release - cmakeArgs: '-DCMAKE_CONFIGURATION_TYPES=Release -DHUNTER_ENABLED=ON -DHUNTER_CONFIGURATION_TYPES=Release -DFINAL_VERSION=OFF -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=OFF -DWITH_NEL_TOOLS=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DWITH_DRIVER_DIRECT3D=OFF -DWITH_DRIVER_XAUDIO2=OFF ..' + cmakeArgs: '-DCMAKE_CONFIGURATION_TYPES=Release -DHUNTER_ENABLED=ON -DHUNTER_CONFIGURATION_TYPES=Release -DFINAL_VERSION=OFF -DWITH_NEL_TESTS=OFF -DWITH_NEL_SAMPLES=OFF -DWITH_NEL_TOOLS=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DWITH_DRIVER_DIRECT3D=OFF -DWITH_DRIVER_XAUDIO2=OFF -DDXSDK_DIR=C:/DXSDK ..' - task: MSBuild@1 inputs: solution: build.release/ALL_BUILD.vcxproj