Skip to content

Test dynamic DLL loading under Wine in CI - #3961

Closed
ligmaSec wants to merge 1 commit into
ItsNotRexed:mainfrom
ligmaSec:ci/wine-loader-fixtures
Closed

ligmaSec wants to merge 1 commit into
ItsNotRexed:mainfrom
ligmaSec:ci/wine-loader-fixtures

Conversation

@ligmaSec

Copy link
Copy Markdown

Claimed in coordination issue #3918.

What and why

The Windows artifact's CTest listing includes loader checks that launch a host CMake script. The Wine artifact runner skips those Windows host commands. The workflow already invokes the async fixture directly with Linux CMake, but the dynamic GDK and bundled-DLL fixtures never run in that job.

Run all three existing CMake checks in each Wine variant. This checks that a mapped synthetic program can call back asynchronously, load the offline GDK shim, and load a DLL from its own folder under Wine. Each script checks the fixture's verdict as well as the process status.

Tested

  • Debian 13, Wine 10.0, x86-64, Xvfb. Ran the exact workflow shell block against the Windows artifact from 49475796. All three fixture checks passed. The artifact predates the extra host-shim assertion in the current GDK fixture. GitHub Actions will build and exercise that version.
  • With the same artifact, the core Wine runner passed 12 synthetic loader, file-system, TLS, exception, and exit-code checks. Its output confirmed the three CMake-driven tests were skipped there.
  • actionlint with ShellCheck, git diff --check, and all 12 CI and CTest registration tests passed.

Workflow only. No game files or GPU. AI-assisted (Codex).

@Vonsek

Vonsek commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Second check on Windows at 88ca1e1. All 12 CI and CTest registration tests passed. I ran the exact old and new shell blocks in Git Bash with xvfb-run replaced by an argument recorder. The parent invoked only the async check. This head invoked the async, GDK, and bundled-DLL checks once each, preserved the quoted loader and guest paths under a workspace containing spaces, and propagated exit 17 from a failing final stub.

I also checked that the three guest executables and tiny_bundled_dll.dll are produced in the guest configuration directory and that the existing recursive upload globs include them and gta6rt.exe. The direct checks correspond to the existing CTest scripts for those guests. This review exercised the workflow wiring without running Wine, a guest, or a DLL.

AI-assisted.

@ligmaSec

Copy link
Copy Markdown
Author

Superseded by #4041, which runs these same fixtures from the Windows CTest inventory and reports their results alongside the other Wine tests.

@ligmaSec ligmaSec closed this Nov 22, 2026
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.

2 participants