From bbc6706786e61ebe0eb91ec1778c05e76585604f Mon Sep 17 00:00:00 2001 From: Jacob Oursland Date: Sun, 17 Dec 2023 20:35:56 -0800 Subject: [PATCH] CI: set pipefail Linux build action. --- .github/workflows/actions/linux/build/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions/linux/build/action.yml b/.github/workflows/actions/linux/build/action.yml index 98a0d056f5..cc2090b56a 100644 --- a/.github/workflows/actions/linux/build/action.yml +++ b/.github/workflows/actions/linux/build/action.yml @@ -48,6 +48,7 @@ runs: id: build shell: bash -l {0} run: | + set -o pipefail (stdbuf -oL -eL cmake --build ${{ inputs.builddir }} -j$(nproc) ${{ inputs.extraParameters }}) \ 2> >(tee -a ${{ inputs.errorFile }}) | tee -a ${{ inputs.logFile }} - name: Write report