summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-03 09:40:11 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-03 14:10:36 +0900
commit105d9da252669fd80803e40b0348edd0974ff502 (patch)
tree215dbe3f78ecdd6eac0c2fab7bf914a42a7d9ce0
parentd75d4275e421cecf2485fb110273592359336117 (diff)
Enforce to use CMake 3 because CMake 4 is not compatible to build libyaml via vcpkg
-rw-r--r--.github/workflows/windows.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 222597b5f2..4de0bbd28b 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -72,7 +72,12 @@ jobs:
${{ runner.os }}-vcpkg-installed-
- name: Install libraries with vcpkg
run: |
+ iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
+ Join-Path (Resolve-Path ~).Path "scoop\shims" >> $Env:GITHUB_PATH
+ scoop install vcpkg cmake@3.31.6
vcpkg --triplet x64-windows install libffi libyaml openssl readline zlib
+ shell:
+ pwsh
- name: git config
run: |
git config --global core.autocrlf false