From f64265756c358fd15844d8504b5626adba846c1a Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 4 Sep 2026 18:18:25 -0700 Subject: [PATCH 1/3] [ci] Use pip to install cmake and ninja on Windows Chocolatey's community feed is prone to rate-limiting, 503 Service Unavailable, and gateway timeouts on CI runners. Installing cmake and ninja wheels via `pip` is significantly faster and avoids dependency on community.chocolatey.org. See: #27511 --- .circleci/config.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 979575e37fd3f..c689c0830ba08 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1165,10 +1165,9 @@ jobs: - run: name: Install packages command: | - choco install -y cmake.portable ninja - # Choco can return 0 even if package installation/resolution fails (e.g. 504 Gateway Timeout). - # See: https://github.com/chocolatey/choco/issues/1609 - # Explicitly check version commands to ensure executables exist in PATH. + # Use pip rather than chocolatey here as have has trouble to + # the reliablity of chocolatey in the past. + pip install cmake ninja cmake --version ninja --version - install-emsdk @@ -1235,10 +1234,9 @@ jobs: - run: name: Install packages command: | - choco install -y cmake.portable ninja - # Choco can return 0 even if package installation/resolution fails (e.g. 504 Gateway Timeout). - # See: https://github.com/chocolatey/choco/issues/1609 - # Explicitly check version commands to ensure executables exist in PATH. + # Use pip rather than chocolatey here as have has trouble to + # the reliablity of chocolatey in the past. + pip install cmake ninja cmake --version ninja --version # note we do *not* build all libraries and freeze the cache; as we run From 45bd82e6f057ce0d14db54fefff247504475c85c Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Tue, 8 Sep 2026 15:12:57 -0700 Subject: [PATCH 2/3] Update .circleci/config.yml Co-authored-by: Alon Zakai --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c689c0830ba08..051e63d4a5520 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1165,7 +1165,7 @@ jobs: - run: name: Install packages command: | - # Use pip rather than chocolatey here as have has trouble to + # Use pip rather than chocolatey here as we have had trouble with # the reliablity of chocolatey in the past. pip install cmake ninja cmake --version From 4e062cfd508d5bc74b0c6232215a81f82b51aacd Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 8 Sep 2026 15:21:42 -0700 Subject: [PATCH 3/3] Update .circleci/config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 051e63d4a5520..57a91ae9406ca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1234,7 +1234,7 @@ jobs: - run: name: Install packages command: | - # Use pip rather than chocolatey here as have has trouble to + # Use pip rather than chocolatey here as we have had trouble with # the reliablity of chocolatey in the past. pip install cmake ninja cmake --version