Skip to content
Open
Changes from all commits
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: 10 additions & 2 deletions eng/pipelines/pr-validation-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,11 @@ jobs:

- job: PytestOnMacOS
displayName: 'macOS x86_64'
# Colima + SQL Server container setup averages ~12.5 min but has a long tail
# (setup has been observed at 17-39 min). The ADO default job timeout is 60 min,
# which the setup tail plus tests plus the 20-min benchmark step can exceed,
# getting the job killed mid-step. Give the job enough headroom for the tail.
timeoutInMinutes: 90
pool:
vmImage: 'macos-latest'

Expand All @@ -483,15 +488,18 @@ jobs:
displayName: 'Use Python $(pythonVersion) on macOS'

- script: |
brew update
# Note: no `brew update` here. The hosted macOS runner ships an up-to-date
# Homebrew; `brew update` re-syncs the entire formula index (network-bound,
# ~1-3 min) for no benefit and is a large chunk of setup time.
# Uninstall existing CMake to avoid tap conflicts
brew uninstall cmake --ignore-dependencies || echo "CMake not installed or already removed"
# Install CMake from homebrew/core
brew install cmake
displayName: 'Install CMake'

- script: |
brew update
# No `brew update` (see the CMake step) - it re-syncs the whole formula
# index and is pure setup overhead on an already-current runner.
brew install docker colima

# Start Colima with extra resources
Expand Down
Loading