feat(toolchain): cross-compile Windows targets with MinGW and run tests under Wine
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 9s

This commit is contained in:
faumaray committed 2026-12-05 04:47:18 +03:00
1 parent 70483492aa
commit a808596462
8 files changed
+157 -31

No files matched your search

+18
View File
@@ -1351,6 +1351,24 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
`vbs: install`.
- Full CTest: **8 / 8 passed** in 277.74 s.
## Wine-First Windows Target Support (GCC 16.2, pin `0002e74`)
Available via `dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64`: MinGW-w64 GCC 16.2
(`x86_64-w64-mingw32-*`) and Wine 11.0.
```sh
dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64 -c build/pinned/bin/vbs test --project <proj> \
--build-dir <build> --target-os windows --target-arch x86_64 --jobs 4
dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64 -c build/pinned/bin/vbs_v1_tests \
--filter track_c_windows_target_cross_build_and_wine_test --no-color
```
- Observed: 4 actions (2 compiles, 2 PE links), `winapp.exe`/`win_test.exe` produced, and
`vbs test: PASSED 'win_test'` through the Wine runner.
- Regression test `FullV1Tests.track_c_windows_target_cross_build_and_wine_test`: **passed**
(8.91 s); it skips when MinGW or Wine is absent.
- Full CTest: **8 / 8 passed** in 279.16 s.
## Limits and Unrun Checks
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).