Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ set -e

# This is a temporary check while we provision the tool as part of our VMs in
# CI.
if [[ $IMAGE_ID =~ ^xcode ]]; then
#
# A more precise check would be:
#
# if [[ $IMAGE_ID =~ ^xcode ]]; then
#
# but our tooling doesn't currently forward that environment variable.
# See
#
# - https://github.com/Automattic/hostmgr/pull/47
# - https://github.com/Automattic/hostmgr/issues/48
if [[ $BUILDKITE_AGENT_META_DATA_QUEUE = 'mac' ]]; then
echo '--- :xcode: Ensure xcodes tool is installed'
brew install xcodes
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

else
Expand Down