Skip to content

CI: require a runnable Windows GameInput test - #7961

Open
Barbital11111 wants to merge 1 commit into
ItsNotRexed:mainfrom
Barbital11111:fix/ci-gameinput-runnable
Open

Barbital11111 wants to merge 1 commit into
ItsNotRexed:mainfrom
Barbital11111:fix/ci-gameinput-runnable

Conversation

@Barbital11111

Copy link
Copy Markdown
Contributor

CI-GAMEINPUT-RUNNABLE (claim)

The Windows Runtime job's CTest command can exit zero when gameinput is disabled. Before running the native suite, check that the existing CTest inventory has the expected enabled registration and that its recorded executable is still present. The check runs after the Windows artifact upload. This follows HQasper's suggestion on #7113.

Depends on: #7113
Land the SDL3 enablement in #7113 first so the Windows job can satisfy this check.

Verification

  • Configured the runtime on Windows 11 with MSVC 19.44, CMake 3.31.10 and Ninja 1.13.2. With SDL3 off, the original CTest command returned 0 for the disabled gameinput test. The workflow check rejected the real inventory.
  • With the pinned SDL3 3.4.20 source, built gameinput_test and gameinput_probe. The real inventory passed the workflow check, and CTest ran and passed gameinput using virtual joysticks.
  • Synthetic inventory controls verified that a missing registration, missing command and missing executable each fail. An explicit DISABLED=false is accepted.
  • git diff --check, check_no_game_data.py and local merge-tree checks against main dde82f2 and CI: build and test GameInput on Windows #7113 passed. CPU-only native Windows validation.

AI-assisted (Codex).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant