diff options
author | Luca Bacci <luca.bacci982@gmail.com> | 2023-02-15 19:23:04 +0100 |
---|---|---|
committer | Luca Bacci <luca.bacci982@gmail.com> | 2023-02-15 19:28:46 +0100 |
commit | c31eeb0b64210fbf9680319d120bf56843e7142a (patch) | |
tree | 340208d9f52fbde9bbd3966610484628872aa194 | |
parent | ffbcba1f6370ad274be8e0575b7e8320cc72589a (diff) | |
download | glib-c31eeb0b64210fbf9680319d120bf56843e7142a.tar.gz |
Enable Python UTF-8 mode for Windows CI jobs
It will become the default in Python 3.15 and makes things
more consistent across Unix and Windows platforms.
Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/2915
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8a2f35cdc..b319349d4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -292,6 +292,8 @@ cross-mingw64: - .cross-build-linux - .only-default image: $MINGW_IMAGE + variables: + PYTHONUTF8: "1" script: # FIXME: Add --werror - meson ${MESON_COMMON_OPTIONS} --cross-file=/opt/cross_file_mingw64.txt _build @@ -322,6 +324,7 @@ msys2-mingw32: MSYSTEM: "MINGW32" CHERE_INVOKING: "yes" CFLAGS: -coverage -ftest-coverage -fprofile-arcs + PYTHONUTF8: "1" script: - C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20 - C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh @@ -347,6 +350,7 @@ msys2-clang64: variables: MSYSTEM: "CLANG64" CHERE_INVOKING: "yes" + PYTHONUTF8: "1" script: - C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20 - C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh @@ -366,6 +370,8 @@ vs2017-x64: tags: - win32-ps needs: [] + variables: + PYTHONUTF8: "1" script: # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines # aren’t currently set up for that. @@ -395,6 +401,8 @@ vs2017-x64-static: tags: - win32-ps needs: [] + variables: + PYTHONUTF8: "1" script: # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines # aren’t currently set up for that. |