MaterialX icon indicating copy to clipboard operation
MaterialX copied to clipboard

CI support for Slang testing

Open kaizhangNV opened this issue 3 months ago • 3 comments

Currently we are missing the CI coverage for testing the tools. We have tests that developers can run on local, but we don't have image comparison infrastructure on CI.

File this issue to track the effort of deploying the automation tests on CI.

kaizhangNV avatar Nov 12 '25 16:11 kaizhangNV

Thanks for highlighting this, @kaizhangNV, and I'll slightly modify the title of this GitHub Issue to clarify that it's CI support for Slang testing.

jstone-lucasfilm avatar Nov 12 '25 19:11 jstone-lucasfilm

Now that the Slang generator is exposed in Python and Javascript with this check-in, at least we can run validation tests using generateShader.py.

I think we could download a release of Slang from github for one of the workflows and run slangc as the validation cmd (which can be passed as an argument to generateShader.py). e.g. GLSL and MSL are testing shader compile this way.

kwokcb avatar Nov 15 '25 18:11 kwokcb

Noticed that the Slang releases don't have RHI included this would make easier for CI as opposed to having to build it.

kwokcb avatar Nov 18 '25 19:11 kwokcb