diff --git a/.github/workflows/root-ci-config/build_root.py b/.github/workflows/root-ci-config/build_root.py index 18eed888af629..42e961957873a 100755 --- a/.github/workflows/root-ci-config/build_root.py +++ b/.github/workflows/root-ci-config/build_root.py @@ -308,6 +308,8 @@ def download_artifacts(obj_prefix: str): @github_log_group("Node state") def show_node_state() -> None: result = subprocess_with_log(""" + echo $SHELL + echo $PATH which cmake cmake --version which c++ || true diff --git a/.github/workflows/root-ci.yml b/.github/workflows/root-ci.yml index 5344e90c2b1a3..4bf333b0d2579 100644 --- a/.github/workflows/root-ci.yml +++ b/.github/workflows/root-ci.yml @@ -158,6 +158,7 @@ jobs: run: 'echo SSL_CERT_FILE=/opt/local/share/curl/curl-ca-bundle.crt >> $GITHUB_ENV' - name: Pull Request Build + shell: bash -leo pipefail {0} if: github.event_name == 'pull_request' env: INCREMENTAL: ${{ !contains(github.event.pull_request.labels.*.name, 'clean build') }} @@ -174,6 +175,7 @@ jobs: --platform ${{ matrix.platform }}" - name: Workflow dispatch + shell: bash -leo pipefail {0} if: ${{ github.event_name == 'workflow_dispatch' && !matrix.is_special }} run: ".github/workflows/root-ci-config/build_root.py --buildtype ${{ inputs.buildtype }} @@ -185,6 +187,7 @@ jobs: --repository ${{ github.server_url }}/${{ github.repository }}" - name: Nightly build + shell: bash -leo pipefail {0} if: github.event_name == 'schedule' run: ".github/workflows/root-ci-config/build_root.py --buildtype Release @@ -195,6 +198,7 @@ jobs: --repository ${{ github.server_url }}/${{ github.repository }}" - name: Update build cache after push to release branch + shell: bash -leo pipefail {0} if: github.event_name == 'push' run: ".github/workflows/root-ci-config/build_root.py --buildtype RelWithDebInfo