[libc++] Add new queues for specific macOS system versions

This will allow running back-deployment testing on macOS only on systems
running the right version of macOS. For the time being, we're cheating
because we don't have actual machines running older than 10.15.
This commit is contained in:
Louis Dionne 2021-02-02 14:59:35 -05:00
parent 29fffff8d3
commit 3fb8385379
2 changed files with 8 additions and 6 deletions

View File

@ -214,7 +214,7 @@ steps:
- "**/test-results.xml"
- "**/*.abilist"
agents:
queue: "libcxx-macos-builders"
queue: "libcxx-builders-macos"
retry:
automatic:
- exit_status: -1 # Agent was lost
@ -270,7 +270,7 @@ steps:
artifact_paths:
- "**/test-results.xml"
agents:
queue: "libcxx-macos-builders"
queue: "libcxx-builders-macos"
retry:
automatic:
- exit_status: -1 # Agent was lost
@ -281,7 +281,7 @@ steps:
artifact_paths:
- "**/test-results.xml"
agents:
queue: "libcxx-macos-builders"
queue: "libcxx-builders-macos"
retry:
automatic:
- exit_status: -1 # Agent was lost
@ -293,7 +293,7 @@ steps:
artifact_paths:
- "**/test-results.xml"
agents:
queue: "libcxx-macos-builders"
queue: "libcxx-builders-macos10.15" # TODO: For now, we're running the back-deployment tests for 10.9 on 10.15, because we don't have proper 10.9 machines
retry:
automatic:
- exit_status: -1 # Agent was lost
@ -304,7 +304,7 @@ steps:
artifact_paths:
- "**/test-results.xml"
agents:
queue: "libcxx-macos-builders"
queue: "libcxx-builders-macos10.15"
retry:
automatic:
- exit_status: -1 # Agent was lost

View File

@ -14,8 +14,10 @@ brew install sphinx-doc python3 ninja cmake clang-format buildkite/buildkite/bui
CFG_DIR="$(brew --prefix)/etc/buildkite-agent"
version="$(sw_vers -productVersion | sed -E 's/([0-9]+).([0-9]+).[0-9]+/\1.\2/')"
# Setup the tags of the agent
echo 'tags="queue=libcxx-macos-builders"' >> "${CFG_DIR}/buildkite-agent.cfg"
echo 'tags="queue=libcxx-builders-macos,queue=libcxx-builders-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"