Repository navigation
Tests: the CI's Windows build and Wine smoke in a local image - #184
Conversation
docker/test-windows.sh builds the camex-mingw image once (Ubuntu 24.04, the win32 MinGW compilers for x86_64 and i686, wine64 and wine32, as the CI jobs Windows and Wine smoke install) and runs those jobs in it: both builds from a copy of the tree, the PE type, --version and --help under Wine. About 10 s against minutes of package installs per check.
PR Summary by QodoAdd local Windows build and Wine smoke checks
AI Description
Merge Risk
|
Code Review by Qodo
1. Spaces in output paths stop local tests
|
docker/test-windows.shruns the CI jobs Windows and Wine smoke locally, so a change can be checked before a push without waiting for CI.docker/Dockerfile.mingw: Ubuntu 24.04 (the runners' release) with the packages those jobs install:gcc-mingw-w64-x86-64-win32,gcc-mingw-w64-i686-win32,wine64,wine32. About 0.7 GB. The script builds it once ascamex-mingw;--rebuildrefreshes it.--versionand--helpunder Wine in a win64 or win32 prefix.OUT=dirkeeps the two.exefiles.A run takes about 10 s once the image exists, against minutes of package installs in a throwaway container.
Test-only: no change to the released files, hence
no-release.Checked:
docker/test-windows.shpasses for both architectures (camex 4.0.1 under Wine); shellcheck is clean.