Commit c242dbe4 authored by Kourser's avatar Kourser
Browse files

CI: run the shell runner jobs with a UTF-8 locale

The shell runner starts jobs without a locale, so the JVM falls back to
ASCII for file names (sun.jnu.encoding) and five Android core tests failed
with InvalidPathException on accented paths. Set LANG and LC_ALL to C.UTF-8
for every job.

Co-Authored-By: default avatarClaude Opus 5.5 <noreply@anthropic.com>
parent 73c9f68a
Loading
Loading
Loading
Loading
+5
Changes for .gitlab-ci.yml: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -12,6 +12,11 @@ variables:
  # tournent avec --no-daemon.
  GRADLE_USER_HOME: "$CI_PROJECT_DIR/.gradle-cache"
  GRADLE_OPTS: "-Xmx1g -XX:MaxMetaspaceSize=512m"
  # Le runner shell démarre sans locale : la JVM prend alors l'ASCII pour les
  # noms de fichiers (sun.jnu.encoding) et refuse les chemins accentués des
  # tests (« Réunion », « reçoit »… → InvalidPathException).
  LANG: "C.UTF-8"
  LC_ALL: "C.UTF-8"

workflow:
  rules: