[Git][ghc/ghc][master] gitlab-ci: Set locale to C.UTF-8.
Marge Bot
gitlab at gitlab.haskell.org
Thu May 21 16:15:40 UTC 2020
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
b7a6b2f4 by Gleb Popov at 2020-05-21T12:15:26-04:00
gitlab-ci: Set locale to C.UTF-8.
- - - - -
3 changed files:
- .gitlab-ci.yml
- .gitlab/ci.sh
- docs/users_guide/compare-flags.py
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -2,7 +2,7 @@ variables:
GIT_SSL_NO_VERIFY: "1"
# Commit of ghc/ci-images repository from which to pull Docker images
- DOCKER_REV: 3f731f5d37a156e7ebe10cd32656946083baaf4a
+ DOCKER_REV: 6223fe0b5942f4fa35bdec92c74566cf195bfb42
# Sequential version number capturing the versions of all tools fetched by
# .gitlab/ci.sh.
=====================================
.gitlab/ci.sh
=====================================
@@ -26,6 +26,9 @@ LT_CYAN="1;36"
WHITE="1;37"
LT_GRAY="0;37"
+export LANG=C.UTF-8
+export LC_ALL=C.UTF-8
+
# GitLab Pipelines log section delimiters
# https://gitlab.com/gitlab-org/gitlab-foss/issues/14664
start_section() {
=====================================
docs/users_guide/compare-flags.py
=====================================
@@ -62,7 +62,7 @@ def main() -> None:
parser = argparse.ArgumentParser()
parser.add_argument('--ghc', type=argparse.FileType('r'),
help='path of GHC executable')
- parser.add_argument('--doc-flags', type=argparse.FileType('r'),
+ parser.add_argument('--doc-flags', type=argparse.FileType(mode='r', encoding='UTF-8'),
help='path of ghc-flags.txt output from Sphinx')
args = parser.parse_args()
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b7a6b2f4c690a9711339462114a538a85dcb7d83
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b7a6b2f4c690a9711339462114a538a85dcb7d83
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200521/69f19d01/attachment-0001.html>
More information about the ghc-commits
mailing list