github/workflows: Improve MSYS2-based CI builds.

Install the mingw variant of Python since it behaves more like a 'real'
Windows CPython than the msys2 variant: os.name == 'nt', not 'posix'.  Note
that os.sep is still '/' though so we don't actually need to skip the
import_file test.  This way one single Python version can be used both for
running run-tests.py and getting the expected test output.

Signed-off-by: stijn <stijn@ignitron.net>
This commit is contained in:
stijn
2024-03-26 16:09:15 +01:00
committed by Damien George
parent 233f5ce661
commit a0c7bf12d2
4 changed files with 10 additions and 19 deletions

View File

@@ -101,6 +101,9 @@ include $(TOP)/py/mkrules.mk
.PHONY: test test_full
# Note for recent gcc versions like 13.2:
# - mingw64-x86_64 gcc builds will pass the math_domain_special test
# - mingw64-ucrt64 gcc builds will pass all of the below tests
RUN_TESTS_SKIP += -e math_fun -e float2int_double -e float_parse -e math_domain_special
test: $(BUILD)/$(PROG) $(TOP)/tests/run-tests.py

View File

@@ -45,7 +45,7 @@ Install MSYS2 from http://repo.msys2.org/distrib, start the msys2.exe shell and
install the build tools:
pacman -Syuu
pacman -S make mingw-w64-x86_64-gcc pkg-config python3
pacman -S make mingw-w64-x86_64-gcc pkg-config mingw-w64-x86_64-python3
Start the mingw64.exe shell and build: