From 4105c2242c98b89e1ade3412f565b51268584f4b Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Fri, 4 Sep 2026 13:29:15 -0400 Subject: [PATCH] windows-check: Build the .exe-suffixed regress/unit test targets on MinGW The new run showed the ws2_32/crypt32 link fix worked (configure passed) but make then failed: "No rule to make target 'tests/regress.test'." Reproducing the autotools build locally confirmed why: MinGW's EXEEXT is ".exe", so automake's check_PROGRAMS rule names the binaries tests/regress.test.exe and tests/unit.test.exe, not the extension-less names this job was asking make to build and run. --- .github/workflows/windows-check.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-check.yml b/.github/workflows/windows-check.yml index 341cf14c..89ebe096 100644 --- a/.github/workflows/windows-check.yml +++ b/.github/workflows/windows-check.yml @@ -295,9 +295,12 @@ jobs: CPPFLAGS="-I$HOME/wolfssl-install/include" \ LDFLAGS="-L$HOME/wolfssl-install/lib" \ LIBS="-lws2_32 -lcrypt32" - make -j$(nproc) tests/regress.test tests/unit.test - ./tests/regress.test - ./tests/unit.test + # MinGW's EXEEXT is ".exe", so the check_PROGRAMS targets automake + # generates are tests/regress.test.exe and tests/unit.test.exe, not + # the extension-less names make would use on a POSIX host. + make -j$(nproc) tests/regress.test.exe tests/unit.test.exe + ./tests/regress.test.exe + ./tests/unit.test.exe - name: Show config.log on failure if: failure()