[PR #1641] ci(runtime): build the GameInput shim into the windows artifact (CI-RUNTIME-SDL3-ARTIFACT) #1655

Open
opened 2026-11-26 20:22:00 +01:00 by 4ld0 · 0 comments
Owner

📋 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)

  • f81cf90 ci(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-windows artifact builds without SDL3 unless the Windows Configure step passes -DLEONIDA_SDL3_FETCH=ON. On a Windows host the installed GameInput.dll masks this (docs/gameinput.md's fallback path); on Wine there is no such DLL, so the retail executable stops at GameInputCreate before 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):

  • artifact built without the flag: --run stops at the title's GameInputCreate assert, 0 D3D12 calls;
  • artifact built with the flag: 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.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1641 **Author:** [@slauko](https://github.com/slauko) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `ci-sdl3-artifact` --- ### 📝 Commits (1) - [`f81cf90`](https://github.com/ubiquitarianism/leonida/commit/f81cf9092fbb6b34e3771e8e288838cc6a312592) ci(runtime): build the GameInput shim into the windows artifact ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/runtime.yml` (+1 -0) </details> ### 📄 Description Claimed in the coordination issue as: CI-RUNTIME-SDL3-ARTIFACT. ### What and why The `runtime-windows` artifact builds **without SDL3** unless the Windows `Configure` step passes `-DLEONIDA_SDL3_FETCH=ON`. On a Windows host the installed `GameInput.dll` masks this (`docs/gameinput.md`'s fallback path); on Wine there is no such DLL, so the retail executable stops at `GameInputCreate` before 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`): - artifact built without the flag: `--run` stops at the title's `GameInputCreate` assert, 0 D3D12 calls; - artifact built with the flag: `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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#1655
No description provided.