Skip to content

Commit 9c1755f

Browse files
authored
Fixed backend builds
1 parent a2827a0 commit 9c1755f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/backends.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,13 @@ jobs:
173173
- name: Verify ROCm
174174
id: verify
175175
run: |
176-
& 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' --version
176+
# Find and test ROCm installation
177+
$clangPath = Get-ChildItem 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | Select-Object -First 1
178+
if (-not $clangPath) {
179+
Write-Error "ROCm installation not found"
180+
exit 1
181+
}
182+
& $clangPath.FullName --version
177183
178184
- name: Checkout
179185
id: checkout
@@ -204,7 +210,7 @@ jobs:
204210
runs-on: windows-latest
205211

206212
env:
207-
VULKAN_VERSION: 1.3.261.1
213+
VULKAN_VERSION: 1.4.328.1
208214

209215
steps:
210216
- name: Checkout
@@ -218,7 +224,7 @@ jobs:
218224
- name: Install Vulkan SDK
219225
id: get_vulkan
220226
run: |
221-
curl.exe -o $env:RUNNER_TEMP/VulkanSDK-Installer.exe -L "https://sdk.lunarg.com/sdk/download/${env:VULKAN_VERSION}/windows/VulkanSDK-${env:VULKAN_VERSION}-Installer.exe"
227+
curl.exe -o $env:RUNNER_TEMP/VulkanSDK-Installer.exe -L "https://sdk.lunarg.com/sdk/download/${env:VULKAN_VERSION}/windows/VulkanSDK-windows-X64-${env:VULKAN_VERSION}.exe"
222228
& "$env:RUNNER_TEMP\VulkanSDK-Installer.exe" --accept-licenses --default-answer --confirm-command install
223229
Add-Content $env:GITHUB_ENV "VULKAN_SDK=C:\VulkanSDK\${env:VULKAN_VERSION}"
224230
Add-Content $env:GITHUB_PATH "C:\VulkanSDK\${env:VULKAN_VERSION}\bin"
@@ -354,7 +360,7 @@ jobs:
354360

355361
linux-hip:
356362
runs-on: ubuntu-22.04
357-
container: rocm/dev-ubuntu-22.04:6.0.2
363+
container: rocm/dev-ubuntu-22.04:6.4.4
358364

359365
steps:
360366
- name: Dependencies
@@ -478,4 +484,4 @@ jobs:
478484

479485
- name: Nuget Push
480486
id: nuget_push
481-
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json
487+
run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)