[igt-dev] [PATCH i-g-t] gitlab-CI: Force a UTF-8 local

Daniel Vetter
2018-12-07T14:00:17Z

python is brittle otherwise and loves to just blow up. Especially
when you have commits with non-ASCII characters, which gitlab CI
injects into the docker env.

Strangely we've only seen this go boom on the ninja test target
in the arm64 cross-compile. For paranoia roll it out everywhere.

v2: gitlab-ci has global variables (Petri)

Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
.gitlab-ci.yml | 1 +
1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index efd01be0ea07..776c62788a90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ variables:
-Dbuild_tests=true
-Dbuild_runner=true
-Dwith_libunwind=true
+ LANG: "C.UTF-8"

stages:
- containers
--
2.20.0.rc1