[libcxx-commits] [libcxx] 1ca7486 - [libc++] Exit from macos-ci-setup upon error
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 12 12:44:43 PDT 2021
Author: Louis Dionne
Date: 2021-07-12T15:44:35-04:00
New Revision: 1ca748608dd45d7c2975715528b4f06d348e5e5a
URL: https://github.com/llvm/llvm-project/commit/1ca748608dd45d7c2975715528b4f06d348e5e5a
DIFF: https://github.com/llvm/llvm-project/commit/1ca748608dd45d7c2975715528b4f06d348e5e5a.diff
LOG: [libc++] Exit from macos-ci-setup upon error
Added:
Modified:
libcxx/utils/ci/macos-ci-setup
Removed:
################################################################################
diff --git a/libcxx/utils/ci/macos-ci-setup b/libcxx/utils/ci/macos-ci-setup
index 0ccf401ad077..d2c7f9dc2c08 100755
--- a/libcxx/utils/ci/macos-ci-setup
+++ b/libcxx/utils/ci/macos-ci-setup
@@ -4,6 +4,8 @@
# An additional requirement that is *not* handled by this script is the
# installation of Xcode, which requires manual intervention.
+set -e
+
if [[ -z "${BUILDKITE_AGENT_TOKEN}" ]]; then
echo "The BUILDKITE_AGENT_TOKEN environment variable must be set to a BuildKite Agent token when calling this script."
exit 1
More information about the libcxx-commits
mailing list