Skip to content

Commit fe2c1c1

Browse files
authored
Update build-icu-win.yml
1 parent fd5fa50 commit fe2c1c1

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build-icu-win.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ jobs:
1414
runs-on: windows-latest
1515
timeout-minutes: 240
1616
steps:
17+
- name: "Create custom vcpkg triplet (static + v142 toolset)"
18+
run: |
19+
@"
20+
set(VCPKG_TARGET_ARCHITECTURE x64)
21+
set(VCPKG_CRT_LINKAGE static)
22+
set(VCPKG_LIBRARY_LINKAGE static)
23+
set(VCPKG_PLATFORM_TOOLSET v142)
24+
"@ | Set-Content "$env:VCPKG_INSTALLATION_ROOT\triplets\community\x64-windows-static-v142.cmake"
25+
1726
- name: "Vcpkg build"
18-
run: vcpkg install icu:x64-windows-static --x-install-root=.
27+
run: vcpkg install icu:x64-windows-static-v142 --x-install-root=.
1928

2029
- name: "Pack"
2130
run: |

0 commit comments

Comments
 (0)