Skip to content

Commit 5fd25e3

Browse files
cipolleschicortinico
authored andcommitted
Bump windows to latests as GH will remove windows-2019 EOM (#51798)
Summary: As per title, GH is [removing windows-2019](https://github.com/facebook/react-native/actions/runs/15421451006/job/43403215354) at the end of the month. We need to migrate away from them. ## Changelog: [Internal] - Bump windows runners Pull Request resolved: #51798 Test Plan: GHA Reviewed By: cortinico Differential Revision: D75946994 Pulled By: cipolleschi fbshipit-source-id: 972b60300c918c0eae0403ed4149347a4ffa8bd0
1 parent e30475d commit 5fd25e3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/actions/build-hermesc-windows/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
- name: Windows cache
2626
uses: actions/cache@v4
2727
with:
28-
key: v2-hermes-${{ github.job }}-windows-${{ inputs.hermes-version }}-${{ inputs.react-native-version }}
28+
key: v3-hermes-${{ github.job }}-windows-${{ inputs.hermes-version }}-${{ inputs.react-native-version }}
2929
path: |
3030
D:\tmp\hermes\win64-bin\
3131
D:\tmp\hermes\hermes\icu\
@@ -60,7 +60,7 @@ runs:
6060
$Env:PATH += ";$Env:CMAKE_DIR;$Env:MSBUILD_DIR"
6161
$Env:ICU_ROOT = "$Env:HERMES_WS_DIR\icu"
6262
63-
cmake -S hermes -B build_release -G 'Visual Studio 16 2019' -Ax64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DHERMES_ENABLE_WIN10_ICU_FALLBACK=OFF
63+
cmake -S hermes -B build_release -G 'Visual Studio 17 2022' -Ax64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=True -DHERMES_ENABLE_WIN10_ICU_FALLBACK=OFF
6464
if (-not $?) { throw "Failed to configure Hermes" }
6565
echo "Running windows build..."
6666
cd build_release

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }}
117117

118118
build_hermesc_windows:
119-
runs-on: windows-2019
119+
runs-on: windows-2025
120120
needs: prepare_hermes_workspace
121121
env:
122122
HERMES_WS_DIR: 'D:\tmp\hermes'

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }}
114114

115115
build_hermesc_windows:
116-
runs-on: windows-2019
116+
runs-on: windows-2025
117117
needs: prepare_hermes_workspace
118118
env:
119119
HERMES_WS_DIR: 'D:\tmp\hermes'

.github/workflows/test-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ jobs:
397397
react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }}
398398

399399
build_hermesc_windows:
400-
runs-on: windows-2019
400+
runs-on: windows-2025
401401
needs: prepare_hermes_workspace
402402
env:
403403
HERMES_WS_DIR: 'D:\tmp\hermes'

0 commit comments

Comments
 (0)