mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[MSWin] Install libyaml using vcpkg
This commit is contained in:
parent
a07fa198a6
commit
65ccae5b2a
1 changed files with 4 additions and 2 deletions
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
|
@ -64,7 +64,7 @@ jobs:
|
||||||
${{ runner.os }}-vcpkg-installed-
|
${{ runner.os }}-vcpkg-installed-
|
||||||
- name: Install libraries with vcpkg
|
- name: Install libraries with vcpkg
|
||||||
run: |
|
run: |
|
||||||
vcpkg --triplet x64-windows install libffi readline zlib
|
vcpkg --triplet x64-windows install libffi libyaml readline zlib
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
||||||
|
@ -104,7 +104,9 @@ jobs:
|
||||||
set | C:\msys64\usr\bin\sort > new.env
|
set | C:\msys64\usr\bin\sort > new.env
|
||||||
C:\msys64\usr\bin\comm -13 old.env new.env >> %GITHUB_ENV%
|
C:\msys64\usr\bin\comm -13 old.env new.env >> %GITHUB_ENV%
|
||||||
del *.env
|
del *.env
|
||||||
for %%I in (libffi) do mklink %%I.dll C:\vcpkg\installed\x64-windows\bin\%%I.dll
|
- name: link libraries
|
||||||
|
run: |
|
||||||
|
for %%I in (libffi yaml) do mklink %%I.dll C:\vcpkg\installed\x64-windows\bin\%%I.dll
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: >-
|
run: >-
|
||||||
../src/win32/configure.bat --disable-install-doc
|
../src/win32/configure.bat --disable-install-doc
|
||||||
|
|
Loading…
Add table
Reference in a new issue