Skip to content

Commit d9d2080

Browse files
committed
[libc++] Clean up scripts to setup CI on macOS
1 parent 4e15560 commit d9d2080

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

libcxx/docs/AddingNewCIJobs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you need to run the job on your own machines, please follow the
1717
`Buildkite guide <https://buildkite.com/docs/agent/v3>`_ to setup your
1818
own agents. Make sure you tag your agents in a way that you'll be able
1919
to recognize them when defining your job below. Finally, in order for the
20-
agent to register itself to Buildkite, it will need a ``BUILDKITE_AGENT_TOKEN``.
20+
agent to register itself to Buildkite, it will need a BuildKite Agent token.
2121
Please contact a maintainer to get your token.
2222

2323
Then, simply add a job to the Buildkite pipeline by editing ``libcxx/utils/ci/buildkite-pipeline.yml``.

libcxx/utils/ci/macos-ci-setup

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
# An additional requirement that is *not* handled by this script is the
55
# installation of Xcode, which requires manual intervention.
66

7-
source secrets.env
7+
if [[ -z "${BUILDKITE_AGENT_TOKEN}" ]]; then
8+
echo "The BUILDKITE_AGENT_TOKEN environment variable must be set to a BuildKite Agent token when calling this script."
9+
exit 1
10+
fi
811

912
# Install Homebrew
1013
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

libcxx/utils/ci/secrets.env

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)