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