From eb7a304948d31cc06342e53cc99d1678403f42ee Mon Sep 17 00:00:00 2001 From: jianlins Date: Thu, 12 Mar 2026 00:08:04 -0600 Subject: [PATCH] workflow: update build steps to handle gcc-toolset-12 sourcing more safely --- .github/workflows/custom_build_rockylinux.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/custom_build_rockylinux.yml b/.github/workflows/custom_build_rockylinux.yml index dd7332d9fc..9a1b895198 100644 --- a/.github/workflows/custom_build_rockylinux.yml +++ b/.github/workflows/custom_build_rockylinux.yml @@ -62,7 +62,7 @@ jobs: shell: bash run: | set -euxo pipefail - source scl_source enable gcc-toolset-12 + set +u; source scl_source enable gcc-toolset-12; set -u cat /etc/os-release || true uname -a gcc --version @@ -74,7 +74,7 @@ jobs: shell: bash run: | set -euxo pipefail - source scl_source enable gcc-toolset-12 + set +u; source scl_source enable gcc-toolset-12; set -u cmake -S . -B build \ -G Ninja \ -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ @@ -87,7 +87,7 @@ jobs: shell: bash run: | set -euxo pipefail - source scl_source enable gcc-toolset-12 + set +u; source scl_source enable gcc-toolset-12; set -u cmake --build build --config ${BUILD_TYPE} -j"$(nproc)" - name: Prepare release payload