Skip to content

Commit 1d48950

Browse files
committed
ci: export LC_ALL
Explicitly opt out of locale dependence.
1 parent 8954cc0 commit 1d48950

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

ci/configs/default.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env bash
2+
export LC_ALL=C.UTF-8
13
CI_DESC="CI job using default libraries and tools, and running IWYU"
24
CI_DIR=build-default
35
export CXXFLAGS="-Werror -Wall -Wextra -Wpedantic -Wno-unused-parameter"

ci/configs/gnu32.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env bash
2+
export LC_ALL=C.UTF-8
3+
14
CI_DESC="CI job cross-compiling to 32-bit"
25
CI_DIR=build-gnu32
36
NIX_ARGS=(

ci/configs/llvm.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/usr/bin/env bash
2+
export LC_ALL=C.UTF-8
3+
14
CI_DESC="CI job using LLVM-based libraries and tools (clang, libc++, clang-tidy, iwyu) and testing Ninja"
25
CI_DIR=build-llvm
36
NIX_ARGS=(--arg enableLibcxx true)

ci/scripts/ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
export LC_ALL=C.UTF-8
23
set -o errexit -o nounset -o pipefail -o xtrace
34

45
[ "${CI_CONFIG+x}" ] && source "$CI_CONFIG"

ci/scripts/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
export LC_ALL=C.UTF-8
3+
24
set -o errexit -o nounset -o pipefail -o xtrace
35

46
[ "${CI_CONFIG+x}" ] && source "$CI_CONFIG"

0 commit comments

Comments
 (0)