Skip to content

Commit

Permalink
Install CMake on Windows replying yes to the prompt (#42926)
Browse files Browse the repository at this point in the history
Summary:
CircleCI is failing because chocolatey started asking for user input in CI. This change should allow CI to proceed.

## Changelog:
[Internal] - Fix CI on Windows

Pull Request resolved: #42926

Test Plan: CircleCI is green

Reviewed By: cortinico

Differential Revision: D53576331

Pulled By: cipolleschi

fbshipit-source-id: 990a195618140263001ffce3e5c17240cc679aa7
  • Loading branch information
cipolleschi authored and facebook-github-bot committed Feb 8, 2024
1 parent eb61946 commit 527d193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/configurations/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ jobs:
- run:
name: Install Node JS
# Note: Version set separately for non-Windows builds, see above.
command: choco install nodejs --version=18.18.0 --allow-downgrade
command: choco install nodejs --version=18.18.0 --allow-downgrade -y

# Setup Dependencies
- run:
Expand Down Expand Up @@ -1100,7 +1100,7 @@ jobs:
name: Build HermesC for Windows
command: |
if (-not(Test-Path -Path $Env:HERMES_WS_DIR\win64-bin\hermesc.exe)) {
choco install --no-progress cmake --version 3.14.7
choco install --no-progress cmake --version 3.14.7 -y
if (-not $?) { throw "Failed to install CMake" }
cd $Env:HERMES_WS_DIR\icu
Expand Down

0 comments on commit 527d193

Please sign in to comment.