mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RN: Switch to Choco-Install from Windows Hermes CI (#34811)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34811 Switches the Windows Hermes CI step to use `Choco-Install` which implicitly supports retries for more reliable builds. See: https://github.com/actions/runner-images/pull/721 Changelog: [Internal] Reviewed By: rickhanlonii Differential Revision: D39890407 fbshipit-source-id: 69c03845d2f2160fb39219dd4a5fff90a00de278
This commit is contained in:
committed by
Facebook GitHub Bot
parent
833661452d
commit
1a28058ac3
@@ -1204,9 +1204,9 @@ 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 -PackageName cmake -ArgumentList "--no-progress", "--version 3.14.7"
|
||||
if (-not $?) { throw "Failed to install CMake" }
|
||||
choco install --no-progress python3
|
||||
Choco-Install -PackageName python3 -ArgumentList "--no-progress"
|
||||
if (-not $?) { throw "Failed to install Python" }
|
||||
|
||||
cd $Env:HERMES_WS_DIR\icu
|
||||
|
||||
Reference in New Issue
Block a user