summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSimon Kallweit <64953474+skallweitNV@users.noreply.github.com>2025-06-13 18:02:23 +0200
committerGitHub <noreply@github.com>2025-06-13 09:02:23 -0700
commitad6478f1346d3f004d88ce8c7e38479520bb6656 (patch)
treeb090e6f002e11bf69e6d48a943d0a6bcdac2311f /.github
parent0382c5116208a944da0153c94d30e1c21ae4e49c (diff)
Re-enable running slang-rhi-tests (#7360)
* enable building slang-rhi-tests * re-enable running slang-rhi-tests * format code * fix typo * update slang-rhi * build slang-rhi-tests without glfw dependency * skip fence tests --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> Co-authored-by: amey asgaonkar <160177341+aasgaonkar@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml25
1 files changed, 2 insertions, 23 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 47fab6531..54bfeb70f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -278,30 +278,9 @@ jobs:
-skip-reference-image-generation \
-show-adapter-info
- name: Run slang-rhi tests
- if: false # steps.filter.outputs.should-run == 'true' && matrix.platform != 'wasm' && matrix.full-gpu-tests
- shell: pwsh
+ if: steps.filter.outputs.should-run == 'true' && matrix.platform != 'wasm' && matrix.full-gpu-tests
run: |
- if (!(Test-Path -Path "external/slang-rhi/build")) {
- Write-Host "Building slang-rhi if it doesn't exist"
- Push-Location external/slang-rhi
- cmake --preset msvc -S . -B build
- cmake --build build --config ${{matrix.config}}
- Write-Host "Copying DLLs from bin directory to slang-rhi build location..."
- Copy-Item -Path "$bin_dir\*.dll" -Destination "build\${{matrix.config}}" -Force
- Pop-Location
- }
- $testExe = Get-ChildItem -Path "external/slang-rhi/build" -Recurse -Filter "slang-rhi-tests.exe" | Select-Object -First 1
- if ($testExe) {
- Write-Host "Found slang-rhi tests executable at: $($testExe.FullName)"
- $testDir = $testExe.Directory.FullName
- Push-Location $testDir
- Write-Host "Running slang-rhi tests..."
- .\slang-rhi-tests.exe -check-devices -tce="ray-tracing-*,cmd-query-resolve-host"
- Pop-Location
- } else {
- Write-Error "Could not find slang-rhi-tests.exe"
- exit 1
- }
+ "$bin_dir/slang-rhi-tests" -check-devices -tce=ray-tracing-*,cmd-query-resolve-host,fence-*
- name: Run slangpy tests
if: steps.filter.outputs.should-run == 'true' && matrix.platform != 'wasm' && matrix.full-gpu-tests
shell: pwsh