@@ -91,13 +91,13 @@ stages:
9191 # =========================
9292 # BUILD TOOLS
9393 # =========================
94- # CMake = cross-platform build system generator (needed for C++ compilation)
95- # Uninstall first to ensure clean version (avoid conflicts with pre-installed CMake)
94+ # Install all Homebrew tooling in one transaction, matching PR validation.
95+ # Do not run brew update: hosted runners already provide bottle metadata,
96+ # while updating can select formulae that compile Go and Lima from source.
9697 - script : |
97- brew update
9898 brew uninstall cmake --ignore-dependencies || echo "CMake not installed"
99- brew install cmake
100- displayName: 'Install CMake '
99+ brew install cmake docker colima
100+ displayName: 'Install build & container tooling (Homebrew) '
101101
102102 # =========================
103103 # PYTHON DEPENDENCIES
@@ -133,22 +133,15 @@ stages:
133133 TargetFolder : ' $(ob_outputDirectory)/bindings/macOS'
134134 displayName : ' Copy .so files'
135135
136- # Install Docker CLI and Colima (macOS Docker runtime)
136+ # Start Colima (macOS Docker runtime). Tooling is installed above so the
137+ # 15-minute timeout covers only VM startup, not Homebrew compilation.
137138 # Colima = lightweight Docker Desktop alternative using macOS virtualization
138- # vz = native macOS virtualization (faster, only works on M1+)
139- # qemu = cross-platform emulator (slower, works on Intel Macs)
140139 # 4 CPU cores + 8GB RAM needed for SQL Server container
141140 - script : |
142- brew update
143- brew install docker colima
144- colima start --vm-type vz --cpu 4 --memory 8 || {
145- echo "vz VM failed, trying qemu..."
146- colima start --vm-type qemu --cpu 4 --memory 8
147- }
148- sleep 30
141+ colima start --cpu 4 --memory 8 --disk 50
149142 docker context use colima >/dev/null || true
150143 docker version
151- displayName: 'Install and start Docker (Colima)'
144+ displayName: 'Start Docker (Colima)'
152145 timeoutInMinutes: 15
153146
154147 # =========================
0 commit comments