Set locale to C.UTF-8 when running tests under Wine

Using UTF-8 encoding seems to be required for the Unicode file names to
work with Wine.
This commit is contained in:
Vadim Zeitlin
2021-07-04 17:43:18 +02:00
parent 425151d6ba
commit 9eea249924

View File

@@ -60,6 +60,11 @@ jobs:
# Default to 64-bit build.
HOST_TRIPLET: ${{ matrix.triplet || 'x86_64-w64-mingw32' }}
# While our tests should run in any locale natively, it seems that Wine
# requires the locale encoding to be UTF-8 for Unicode file names to work
# correctly, so set the locale explicitly for it.
LC_ALL: C.UTF-8
# Run all commands as the normal user, created by the first step below.
#
# Note that the Bash options used here are the same as for the default