mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user