Skip to content

Commit 4fd9c41

Browse files
Copilotdontpanic92
andauthored
Update Windows CI Vulkan SDK download to a valid release (#63)
* Initial plan * Use vcpkg manifest in Windows CI Co-authored-by: dontpanic92 <1056013+dontpanic92@users.noreply.github.com> * Update Vulkan SDK version in Windows CI Co-authored-by: dontpanic92 <1056013+dontpanic92@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dontpanic92 <1056013+dontpanic92@users.noreply.github.com>
1 parent 9f5fae2 commit 4fd9c41

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci-windows.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ env:
1212
jobs:
1313
windows-build:
1414
runs-on: windows-latest
15+
env:
16+
VCPKG_ROOT: C:\vcpkg
17+
VCPKG_FEATURE_FLAGS: manifests
1518
steps:
1619
- uses: actions/checkout@v4
1720
with:
@@ -24,7 +27,7 @@ jobs:
2427
- name: Install Vulkan SDK
2528
shell: pwsh
2629
run: |
27-
$vulkanSdkVersion = "1.3.250.1"
30+
$vulkanSdkVersion = "1.4.304.0"
2831
mkdir temp
2932
Invoke-WebRequest https://sdk.lunarg.com/sdk/download/$vulkanSdkVersion/windows/VulkanSDK-$vulkanSdkVersion-Installer.exe -OutFile ./temp/vulkan_sdk.exe
3033
./temp/vulkan_sdk.exe in --da --al -c
@@ -37,13 +40,11 @@ jobs:
3740
- name: Install ffmpeg
3841
shell: pwsh
3942
run: |
40-
vcpkg x-update-baseline
41-
vcpkg install --triplet=x64-windows-static-md
42-
vcpkg integrate install
43+
& "$env:VCPKG_ROOT\vcpkg.exe" install --triplet=x64-windows-static-md --x-manifest-root="$env:GITHUB_WORKSPACE" --x-install-root="$env:GITHUB_WORKSPACE\vcpkg_installed"
4344
- name: Build Yaobow
4445
shell: pwsh
4546
run: |
46-
$vulkanSdkVersion = "1.3.250.1"
47+
$vulkanSdkVersion = "1.4.304.0"
4748
$env:Path += ";C:\VulkanSDK\${vulkanSdkVersion}\Bin"
4849
cargo build --workspace --release --verbose
4950
- name: Zip Packaging

0 commit comments

Comments
 (0)