[libc++] Add the 'os=macos' tag to macOS nodes to workaround lack of wildcard matching

This commit is contained in:
Louis Dionne 2021-07-12 17:22:26 -04:00
parent 379f24ffde
commit cb30d597c4
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ version="$(sw_vers -productVersion | sed -E 's/([0-9]+).([0-9]+).[0-9]+/\1.\2/')
arch="$(uname -m)"
# Setup the tags of the agent
echo "tags=\"queue=libcxx-builders,arch=${arch},os=macos${version}\"" >> "${CFG_DIR}/buildkite-agent.cfg"
echo "tags=\"queue=libcxx-builders,arch=${arch},os=macos,os=macos${version}\"" >> "${CFG_DIR}/buildkite-agent.cfg"
# Setup the BuildKite Agent token
sed -i '' "s/xxx/${BUILDKITE_AGENT_TOKEN}/g" "${CFG_DIR}/buildkite-agent.cfg"