mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #1641] ci(runtime): build the GameInput shim into the windows artifact (CI-RUNTIME-SDL3-ARTIFACT) #1655
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1655
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1641
Author: @slauko
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:ci-sdl3-artifact📝 Commits (1)
f81cf90ci(runtime): build the GameInput shim into the windows artifact📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
.github/workflows/runtime.yml(+1 -0)📄 Description
Claimed in the coordination issue as: CI-RUNTIME-SDL3-ARTIFACT.
What and why
The
runtime-windowsartifact builds without SDL3 unless the WindowsConfigurestep passes-DLEONIDA_SDL3_FETCH=ON. On a Windows host the installedGameInput.dllmasks this (docs/gameinput.md's fallback path); on Wine there is no such DLL, so the retail executable stops atGameInputCreatebefore any D3D12 call. One line in the Windows Configure puts the GameInput shim (the pinned SDL3 3.4.20, gamepad-only, static) into every artifact.No behaviour change for Windows hosts: an installed SDL3 is still preferred, and the pinned release is fetched only when none is found.
Tested
On the fork (RTX 3080 Ti, NVIDIA 595.112.07, Wine 11.17, retail 1.0.2.1 package,
LEONIDA_D3D12=vulkan):--runstops at the title'sGameInputCreateassert, 0 D3D12 calls;SDL 3.4.20 gamepads, the Xbox Series X pad is recognized (045e:0b12, player 1), and the boot proceeds (1,639 D3D12 calls before the next stop). Counts and call shapes only, no game data.The build itself needs no game files; the boot check uses the retail package. The artifact grows by the shim (observed on the fork: ~5.7 MB to ~9 MB).
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.