From 9c1755ffc81a5246b187201aa1fa664c584b53ff Mon Sep 17 00:00:00 2001 From: DarthAffe Date: Fri, 31 Oct 2025 22:12:43 +0100 Subject: [PATCH] Fixed backend builds --- .github/workflows/backends.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/backends.yml b/.github/workflows/backends.yml index e265828..c3a7813 100644 --- a/.github/workflows/backends.yml +++ b/.github/workflows/backends.yml @@ -173,7 +173,13 @@ jobs: - name: Verify ROCm id: verify run: | - & 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' --version + # Find and test ROCm installation + $clangPath = Get-ChildItem 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | Select-Object -First 1 + if (-not $clangPath) { + Write-Error "ROCm installation not found" + exit 1 + } + & $clangPath.FullName --version - name: Checkout id: checkout @@ -204,7 +210,7 @@ jobs: runs-on: windows-latest env: - VULKAN_VERSION: 1.3.261.1 + VULKAN_VERSION: 1.4.328.1 steps: - name: Checkout @@ -218,7 +224,7 @@ jobs: - name: Install Vulkan SDK id: get_vulkan run: | - 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" + 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" & "$env:RUNNER_TEMP\VulkanSDK-Installer.exe" --accept-licenses --default-answer --confirm-command install Add-Content $env:GITHUB_ENV "VULKAN_SDK=C:\VulkanSDK\${env:VULKAN_VERSION}" Add-Content $env:GITHUB_PATH "C:\VulkanSDK\${env:VULKAN_VERSION}\bin" @@ -354,7 +360,7 @@ jobs: linux-hip: runs-on: ubuntu-22.04 - container: rocm/dev-ubuntu-22.04:6.0.2 + container: rocm/dev-ubuntu-22.04:6.4.4 steps: - name: Dependencies @@ -478,4 +484,4 @@ jobs: - name: Nuget Push id: nuget_push - run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json \ No newline at end of file + run: dotnet nuget push **\*.nupkg --skip-duplicate --api-key ${{ secrets.NUGET_TOKEN }} --source https://api.nuget.org/v3/index.json