Skip to content

Commit 686803d

Browse files
Testing downloading and usage of the Agility SDK
Should fail for now.
1 parent cab011d commit 686803d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/windows.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types: [opened, synchronize, reopened]
77

88
env:
9-
FOO: "BAR"
9+
DX_AGILITY_SDK_URL: "https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.615.1"
1010

1111
jobs:
1212
windows:
@@ -35,6 +35,13 @@ jobs:
3535
- name: Checkout
3636
uses: actions/checkout@v4
3737

38+
- name: Download DirectX 12 Agility SDK
39+
shell: pwsh
40+
run: |
41+
$ProgressPreference = 'SilentlyContinue'
42+
Invoke-WebRequest -Uri $env:DX_AGILITY_SDK_URL -OutFile "d3d12.zip"
43+
Expand-Archive -Path "d3d12.zip" -DestinationPath "d3d12_sdk"
44+
3845
- name: Configure CMake
3946
shell: pwsh
4047
run: |
@@ -44,6 +51,7 @@ jobs:
4451
-Bbuild `
4552
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} `
4653
-DD3D12MA_BUILD_SAMPLE=ON `
54+
-DD3D12MA_AGILITY_SDK_DIRECTORY=INVALID `
4755
${{ matrix.config.cmake_configure_options }}
4856
4957
- name: Build

0 commit comments

Comments
 (0)