Run MacOS ARM64 "tests" on M1 machines
We should add proper tests.
@@ -367,9 +367,8 @@ steps:
- label: "Test on macOS (arm64)"
agents:
- # TODO(pcloudy): Switch to macos_arm64 queue and write a proper test step
- # when Apple Silicon machines are available,
- - queue=macos
+ # TODO(pcloudy): Write a proper test step
+ - queue=macos_arm64
command: |
git fetch origin ${BUILDKITE_BRANCH}
git checkout ${BUILDKITE_BRANCH}
@@ -379,8 +378,8 @@ steps:
buildkite-agent artifact download "bazel-\${release_name}-darwin-arm64" .
- output=$(lipo -info "bazel-\${release_name}-darwin-arm64")
- [[ \${output} == *"architecture: arm64"* ]] || (echo "architecture arm64 expected, but got: \"\${output}\"" && exit 1)
+ chmod +x "bazel-\${release_name}-darwin-arm64"
+ "./bazel-\${release_name}-darwin-arm64" info
- label: "Test on Windows"
agents:
