Repository navigation
CI: scope Runtime workflow by path, run Linux ctest, enable D3D12 shim test - #435
Conversation
|
Reviewed b8835b7: 1 finding
Ran: merged onto current main (clean). Built with MSVC 2022 + Ninja and |
|
Great catch on Added Thanks @VictorJulianiR and @kotorvr for testing the Windows Ninja/MSVC build and reviewing the workflow! |
1c06ea5 to
3ef8f4f
Compare
|
Rebased onto
PR is |
|
Re-checked 3ef8f4f: looks good. The earlier finding is fixed: Ran: checked that every listed path exists. Looked at the PR's CI: Windows built and passed |
What and why
Part of #418 (step 7). Improves signal and cuts wasted runner time in
.github/workflows/runtime.yml:push(main) andpull_requestonly whenruntime/**,tools/gen_d3d12_stubs.py, or.github/workflows/runtime.ymlchange (workflow_dispatchstays unrestricted). Note: coordinated in CI: reduce walltime, remove duplicate work, and align runner toolchains with documented versions #418 with@NRXM'sllvmpipeGPU test PR (CI: run the GPU tests on Mesa llvmpipe #430), which will addtools/**andscripts/run_gpu_tests.pytopaths:when rebased.linux-gpu-toolspreviously built the GPU tools and CPU test binaries without executingctest. Now runsctest --test-dir runtime/build --output-on-failureand checks all 12 built Linux targets (includingvk_bindless_test,descriptor_table_test,gfx10_descriptors_test,clear_color_test).-DLEONIDA_D3D12_SHIM_TESTS=ONonwindowssod3d12_xs_root_signature_testbuilds and runs inctest(CPU-only, no physical GPU needed).apt-getinstall on Linux: uses--no-install-recommendsand only installscmake,ninja-build, org++if not already present onubuntu-24.04.Action SHA verification
No new actions added; existing pinned actions unchanged:
actions/checkoutv7.0.13d3c42e5aac5ba805825da76410c181273ba90b1ilammy/msvc-dev-cmdv1.13.00b201ec74fa43914dc39ae48a89fd1d8cb592756AI-assisted contribution.
Tested
runtime.ymlstack): https://github.com/sombraSoft/Leonida/actions/runs/44964806953 (linux-gpu-tools45s,ctest5/5 passed in 0.02s;windowsctest20/20 passed in 1.46s).-DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_D3D12_SHIM_TESTS=ON) + build +ctest --output-on-failure: 78/78 targets built, 15/15 tests passed (includingd3d12_xs_root_signature).ctesttargets underruntime/CMakeLists.txt(command_list_test,d3d12_state_map_test,gfx10_descriptors_test,clear_color_test,vk_bindless_test,descriptor_table_test) are CPU-only unit tests with no GPU requirement.jactionlintv2.6.0 (shellcheck0.11.0):--profile correctnessand--profile default .github/workflows/runtime.yml-> exit 0, 0 findings.Checklist
docs/design.md, with how it was confirmed. (N/A — CI workflow only)