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

Daniel Vetter daniel.vetter at ffwll.ch
Fri Dec 7 14:00:10 UTC 2018


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 at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at 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



More information about the igt-dev mailing list