@@ -14,23 +14,23 @@ runs:
14
14
uses : actions/download-artifact@v4
15
15
with :
16
16
name : hermes-workspace
17
- path : ' D :\tmp\hermes'
17
+ path : ' C :\tmp\hermes'
18
18
- name : Set up workspace
19
19
shell : powershell
20
20
run : |
21
- mkdir -p D :\tmp\hermes\osx-bin
21
+ mkdir -p C :\tmp\hermes\osx-bin
22
22
mkdir -p .\packages\react-native\sdks\hermes
23
- cp -r -Force D :\tmp\hermes\hermes\* .\packages\react-native\sdks\hermes\.
23
+ cp -r -Force C :\tmp\hermes\hermes\* .\packages\react-native\sdks\hermes\.
24
24
cp -r -Force .\packages\react-native\sdks\hermes-engine\utils\* .\packages\react-native\sdks\hermes\.
25
25
- name : Windows cache
26
26
uses : actions/cache@v4
27
27
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 }}
29
29
path : |
30
- D :\tmp\hermes\win64-bin\
31
- D :\tmp\hermes\hermes\icu\
32
- D :\tmp\hermes\hermes\deps\
33
- D :\tmp\hermes\hermes\build_release\
30
+ C :\tmp\hermes\win64-bin\
31
+ C :\tmp\hermes\hermes\icu\
32
+ C :\tmp\hermes\hermes\deps\
33
+ C :\tmp\hermes\hermes\build_release\
34
34
- name : setup-msbuild
35
35
36
36
- name : Set up workspace
39
39
New-Item -ItemType Directory -ErrorAction SilentlyContinue $Env:HERMES_WS_DIR\icu
40
40
New-Item -ItemType Directory -ErrorAction SilentlyContinue $Env:HERMES_WS_DIR\deps
41
41
New-Item -ItemType Directory -ErrorAction SilentlyContinue $Env:HERMES_WS_DIR\win64-bin
42
+ - name : Downgrade CMake
43
+ shell : powershell
44
+ run : choco install cmake --version 3.31.6 --force
42
45
- name : Build HermesC for Windows
43
46
shell : powershell
44
47
run : |
60
63
$Env:PATH += ";$Env:CMAKE_DIR;$Env:MSBUILD_DIR"
61
64
$Env:ICU_ROOT = "$Env:HERMES_WS_DIR\icu"
62
65
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
66
+ 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
64
67
if (-not $?) { throw "Failed to configure Hermes" }
65
68
echo "Running windows build..."
66
69
cd build_release
80
83
81
84
with :
82
85
name : hermes-win64-bin
83
- path : D :\tmp\hermes\win64-bin\
86
+ path : C :\tmp\hermes\win64-bin\
0 commit comments