From 90902d36dd7187288d6487bc61c16efa3fcfaeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 16 Apr 2025 12:02:54 +0100 Subject: [PATCH] ci: work around Meson issues on Windows with author names in non-Western scripts Work around Meson issues if this env var contains characters that cannot be represented in the active code page (e.g. CP1252). UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 865: character maps to Part-of: --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 42e5534795..833e09b788 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -554,6 +554,9 @@ build vs2022 amd64: variables: # FIXME: https://github.com/mesonbuild/meson/pull/11007 PKG_CONFIG: ${CI_PROJECT_DIR}/subprojects/win-pkgconfig/pkg-config.exe + # Work around Meson issues if this env var contains characters that + # cannot be represented in the active code page (e.g. CP1252) + CI_COMMIT_AUTHOR: null build vs2022 amd64 full-static: extends: ".build windows" @@ -570,6 +573,9 @@ build vs2022 amd64 full-static: -Dlibav=disabled -Ddoc=disabled -Dgst-full-target-type=static_library + # Work around Meson issues if this env var contains characters that + # cannot be represented in the active code page (e.g. CP1252) + CI_COMMIT_AUTHOR: null .build windows cross: extends: '.build windows'