From b0f5c9aed0deeb3164b1f4efc8c4bc3cbf8f3c5f Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Thu, 3 Dec 2026 12:02:19 +0800 Subject: [PATCH] ci: give the macOS Rust job 75 minutes (#7663) Clippy and the test build take about 45 minutes on the macOS runner, so the job hit the 60-minute limit while tests were still running and main's Rust checks stayed red. macOS now gets the same limit as Windows. --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e03faf839..4d2da3e5b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,8 +106,9 @@ jobs: if: needs.changes.outputs.rust == 'true' permissions: contents: read - # A Windows build that misses the Rust cache spends ~50 minutes compiling before the tests run. - timeout-minutes: ${{ matrix.os == 'windows-latest' && 75 || 60 }} + # A Windows build that misses the Rust cache spends ~50 minutes compiling before the tests run; + # on macOS clippy plus the test build alone take ~45 minutes. + timeout-minutes: ${{ matrix.os == 'ubuntu-latest' && 60 || 75 }} strategy: fail-fast: false matrix: