From 86a46c559c12c7e3d135a57f05770d5696243101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C4=81rti=C5=86=C5=A1=20Mo=C5=BEeiko?= Date: Sat, 26 Oct 2024 17:28:32 -0700 Subject: [PATCH] install newer windows sdk version --- .github/workflows/build-dawn.yml | 5 +++++ build.cmd | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-dawn.yml b/.github/workflows/build-dawn.yml index f261f6d..84a9471 100644 --- a/.github/workflows/build-dawn.yml +++ b/.github/workflows/build-dawn.yml @@ -35,6 +35,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Install Windows SDK v10.0.26100.0 + shell: cmd + run: | + "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" --quiet --force --norestart --add Microsoft.VisualStudio.Component.Windows11SDK.26100 + - name: Run Build Script id: build shell: cmd diff --git a/build.cmd b/build.cmd index 73eac69..b9292db 100644 --- a/build.cmd +++ b/build.cmd @@ -93,7 +93,7 @@ rem cmake ^ -S dawn ^ -B dawn.build-%ARCH% ^ - -A %ARCH% ^ + -A %ARCH%,version=10.0.26100.0 ^ -D CMAKE_BUILD_TYPE=Release ^ -D CMAKE_POLICY_DEFAULT_CMP0091=NEW ^ -D CMAKE_POLICY_DEFAULT_CMP0092=NEW ^