aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2022-03-22 09:55:43 +0100
committerThomas Schwinge <thomas@codesourcery.com>2022-03-22 09:55:43 +0100
commit202e61bc2de2a1702b396dc8a7ae42a922ac3b8f (patch)
treeacce2aceb2741963118aab281e8afa5b3a08f380
parent60d1fd533c12a9753c79913d30cb0037896b51bb (diff)
downloadgcc-202e61bc2de2a1702b396dc8a7ae42a922ac3b8f.zip
gcc-202e61bc2de2a1702b396dc8a7ae42a922ac3b8f.tar.gz
gcc-202e61bc2de2a1702b396dc8a7ae42a922ac3b8f.tar.bz2
Force 'LC_ALL=C' for all steps of '.github/workflows/ccpp.yml:jobs.build-and-check'
-rw-r--r--.github/workflows/ccpp.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml
index b042575..9870824 100644
--- a/.github/workflows/ccpp.yml
+++ b/.github/workflows/ccpp.yml
@@ -11,6 +11,10 @@ on:
jobs:
build-and-check:
+ env:
+ # Force locale, in particular for reproducible results re '.github/bors_log_expected_warnings' (see below).
+ LC_ALL: C
+
runs-on: ubuntu-latest
steps:
@@ -46,7 +50,7 @@ jobs:
- name: Build
run: |
cd gccrs-build; \
- LC_ALL=C make -j $(nproc) > log 2>&1;
+ make -j $(nproc) > log 2>&1
- name: Build logs
run: cat gccrs-build/log