From 105d9da252669fd80803e40b0348edd0974ff502 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 3 Apr 2025 09:40:11 +0900 Subject: Enforce to use CMake 3 because CMake 4 is not compatible to build libyaml via vcpkg --- .github/workflows/windows.yml | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3