From 41c627fd420a644f0ae86e36f4752e820e2d683c Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Wed, 18 Dec 2024 14:39:17 +0200 Subject: Add slang example tests to CI (#5879) * Examples: Don't proceed if 'initializeBase' fails * Examples: Only access gWindow if it's been initialized * Examples: Free memory from CommandLineToArgvW * Add example run step to CI Lots of examples are still unexpectedly failing, but is one small step towards addressing issue #5520. --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 357b18137..6289d291f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,6 +176,14 @@ jobs: -expected-failure-list tests/expected-failure-github.txt \ -expected-failure-list tests/expected-failure-record-replay-tests.txt fi + - name: Run Slang examples + if: steps.filter.outputs.should-run == 'true' && matrix.platform != 'wasm' + run: | + .github/workflows/ci-examples.sh \ + --bin-dir "$bin_dir" \ + --os "${{matrix.os}}" \ + --config "${{matrix.config}}" \ + --skip-file tests/expected-example-failure-github.txt - name: Test Slang via glsl if: steps.filter.outputs.should-run == 'true' && matrix.full-gpu-tests && matrix.platform != 'wasm' run: | -- cgit v1.2.3