Merge branch 'gitlab-ci-enable-python-utf8-mode-for-windows' into 'main'

Enable Python UTF-8 mode for Windows CI jobs

Closes #2915

See merge request GNOME/glib!3278
This commit is contained in:
Philip Withnall 2023-02-16 10:55:47 +00:00
commit e784bedd40

View File

@ -292,6 +292,8 @@ cross-mingw64:
- .cross-build-linux - .cross-build-linux
- .only-default - .only-default
image: $MINGW_IMAGE image: $MINGW_IMAGE
variables:
PYTHONUTF8: "1"
script: script:
# FIXME: Add --werror # FIXME: Add --werror
- meson ${MESON_COMMON_OPTIONS} --cross-file=/opt/cross_file_mingw64.txt _build - meson ${MESON_COMMON_OPTIONS} --cross-file=/opt/cross_file_mingw64.txt _build
@ -322,6 +324,7 @@ msys2-mingw32:
MSYSTEM: "MINGW32" MSYSTEM: "MINGW32"
CHERE_INVOKING: "yes" CHERE_INVOKING: "yes"
CFLAGS: -coverage -ftest-coverage -fprofile-arcs CFLAGS: -coverage -ftest-coverage -fprofile-arcs
PYTHONUTF8: "1"
script: script:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20 - C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
- C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh - C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh
@ -347,6 +350,7 @@ msys2-clang64:
variables: variables:
MSYSTEM: "CLANG64" MSYSTEM: "CLANG64"
CHERE_INVOKING: "yes" CHERE_INVOKING: "yes"
PYTHONUTF8: "1"
script: script:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20 - C:\msys64\usr\bin\pacman --noconfirm -Syyuu --ask 20
- C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh - C:\msys64\usr\bin\bash .gitlab-ci/show-execution-environment.sh
@ -366,6 +370,8 @@ vs2017-x64:
tags: tags:
- win32-ps - win32-ps
needs: [] needs: []
variables:
PYTHONUTF8: "1"
script: script:
# FIXME: These should use --wrap-mode=nodownload but the Windows CI machines # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines
# arent currently set up for that. # arent currently set up for that.
@ -395,6 +401,8 @@ vs2017-x64-static:
tags: tags:
- win32-ps - win32-ps
needs: [] needs: []
variables:
PYTHONUTF8: "1"
script: script:
# FIXME: These should use --wrap-mode=nodownload but the Windows CI machines # FIXME: These should use --wrap-mode=nodownload but the Windows CI machines
# arent currently set up for that. # arent currently set up for that.