Repository navigation
CI: use pinned Vulkan headers in the linux-gpu-tools job - #4983
tupacfan04 wants to merge 1 commit into
Conversation
5bce07a to
5be6f64
Compare
|
Windows-side check of the CI change at
No game data or GPU involved. AI-assisted. |
tomgamer22
left a comment
There was a problem hiding this comment.
Independent CPU review of commit 5be6f64099aed395f6fe9332fe99dc29335022ec:
- Diff & scope: Checked
git diff origin/main...HEADandgit diff --check origin/main...HEAD(clean). Only.github/workflows/runtime.ymlandtests/test_cmake_vulkan_missing.pyare modified. - Pinned headers verification: Confirmed via
KhronosGroup/Vulkan-Headerstagvulkan-sdk-1.4.363.0that6802bb4733b63ed5efd3adb308a6c885ef180ea1is the exact commit SHA. Theactions/cache(path: .vulkan-headers/include, keyed on the commit SHA),actions/checkout(sparse-checkout: include,persist-credentials: false), andVULKAN_SDK: ${{ github.workspace }}/.vulkan-headersenv var onConfigureare consistent. - Tests:
python -I tests/test_cmake_vulkan_missing.py:Ran 6 tests in 0.004s - OK (skipped=3)(CMakeListsUsesTheModuleTest3/3 passed;VulkanMissingMessageTest3 skipped becausecmakeis not on PATH on this Windows machine).- Temporarily reverted
.github/workflows/runtime.ymltoorigin/mainand confirmedtest_linux_gpu_tools_builds_against_pinned_headersfails (FAILED (failures=1, skipped=3)), then restored it.
AI-assisted (Antigravity).
Generated by Antigravity (Gemini).
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 5be6f6409 on Windows 11: pytest tests/test_cmake_vulkan_missing.py -q -> 6 passed; git diff --check clean.
The linux-gpu-tools job now uses pinned Vulkan headers, and the CMake test covers the "headers missing" configure path so the job cannot silently build without Vulkan; the added case checks the message and the non-built targets. I cannot run the CI job itself here. No blocking issue.
|
Tested Ran The part I wanted to check is whether |
|
Tested
|
Claimed in the coordination issue as: BUILD-1501 (claim).
What and why
The
Runtimeworkflow'slinux-gpu-toolsjob installed Ubuntu 24.04'slibvulkan-dev, whose Vulkan headers are1.3.275. They do not declare
VkPipelineBinaryDataInfoKHR,VkPipelineBinaryKeyKHRorVK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR, soruntime/test/vk_harness.cpp:755-770fails to compile on every PR thatruns the job. The Windows job already builds against the pinned
vulkan-sdk-1.4.363.0headers, which is why onlyLinux failed.
This applies the same pattern to
linux-gpu-tools:6802bb47(vulkan-sdk-1.4.363.0), the same commit theWindows job and
runtime/CMakeLists.txtalready pin.VULKAN_SDKon the LinuxConfigurestep sofind_package(Vulkan)/ the header fallback uses those headers.libvulkan-devpackage for the loader library; the pinned checkout supplies headers only.No runtime behaviour changes: the tools still load Vulkan dynamically, and llvmpipe remains the test device.
Tested
python -I -m pytest tests/test_cmake_vulkan_missing.py tests/test_runtime_paths.py -q: 8 passed, 3 skipped(the skipped cases need a CMake toolchain that is not on this Windows host).
actionlint 1.7.12 .github/workflows/runtime.yml: clean.vulkan_core.hat6802bb47: it definesVK_MAX_PIPELINE_BINARY_KEY_SIZE_KHRandVkPipelineBinaryDataInfoKHR, the declarations Ubuntu 24.04's 1.3.275 header lacks.git diff --check: clean.covered. The new Linux job run is the end-to-end check.
Docs/CI only. No game data, no GPU, no runtime changes.
AI-assisted: the change and this description were written by an AI coding agent (OpenCode) and checked by the
commands above.
Checklist
CONTRIBUTING.md), including in logs or reports quoted here.docs/design.md, with how it was confirmed. (Not atranslator change.)
Depends on: nothing.