mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
ci: set the code page of powershell to utf-8
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2397>
This commit is contained in:
parent
7865d1155d
commit
f31afe465f
1 changed files with 10 additions and 0 deletions
|
@ -394,6 +394,13 @@ build clang fedora x86_64:
|
||||||
- changes:
|
- changes:
|
||||||
*modules_changes
|
*modules_changes
|
||||||
script:
|
script:
|
||||||
|
# Make sure powershell exits on errors
|
||||||
|
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
||||||
|
- $ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
|
# Set the code page to UTF-8
|
||||||
|
- chcp 65001
|
||||||
|
|
||||||
- ci/scripts/handle-subprojects-cache.py subprojects/
|
- ci/scripts/handle-subprojects-cache.py subprojects/
|
||||||
# For some reason, options are separated by newline instead of space, so we
|
# For some reason, options are separated by newline instead of space, so we
|
||||||
# have to replace them first.
|
# have to replace them first.
|
||||||
|
@ -446,6 +453,9 @@ build msys2 :
|
||||||
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
||||||
- $ErrorActionPreference = "Stop"
|
- $ErrorActionPreference = "Stop"
|
||||||
|
|
||||||
|
# Set the code page to UTF-8
|
||||||
|
- chcp 65001
|
||||||
|
|
||||||
# Configure MSYS2 to use the UCRT64 environment, start in the same directory
|
# Configure MSYS2 to use the UCRT64 environment, start in the same directory
|
||||||
# and inherit PATH
|
# and inherit PATH
|
||||||
- $env:MSYSTEM = "UCRT64"
|
- $env:MSYSTEM = "UCRT64"
|
||||||
|
|
Loading…
Reference in a new issue