зеркало из https://github.com/github/ruby.git
Appveyor: Link vcpkg DLLs except for readline
This commit is contained in:
Родитель
8fe2ce83ef
Коммит
0169380741
|
@ -49,7 +49,6 @@ for:
|
||||||
- .\bootstrap-vcpkg.bat
|
- .\bootstrap-vcpkg.bat
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%
|
- cd %APPVEYOR_BUILD_FOLDER%
|
||||||
- vcpkg --triplet %Platform%-windows install libffi libyaml readline zlib
|
- vcpkg --triplet %Platform%-windows install libffi libyaml readline zlib
|
||||||
- set PATH=c:\Tools\vcpkg\installed\%Platform%-windows\bin;%PATH%
|
|
||||||
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
|
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
|
||||||
- SET vcvars
|
- SET vcvars
|
||||||
- '"%vcvars%" %Platform:x64=amd64%'
|
- '"%vcvars%" %Platform:x64=amd64%'
|
||||||
|
@ -73,6 +72,9 @@ for:
|
||||||
- if not exist %ZLIB_ZIP% curl -fsSL -o %ZLIB_ZIP% --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip
|
- if not exist %ZLIB_ZIP% curl -fsSL -o %ZLIB_ZIP% --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip
|
||||||
- 7z x -aos -o%APPVEYOR_BUILD_FOLDER%\ext\zlib %ZLIB_ZIP%
|
- 7z x -aos -o%APPVEYOR_BUILD_FOLDER%\ext\zlib %ZLIB_ZIP%
|
||||||
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
|
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
|
||||||
|
- for %%I in (c:\Tools\vcpkg\installed\%Platform%-windows\bin\*.dll) do (
|
||||||
|
if not %%~nI == readline mklink \usr\local\bin\%%~nxI %%I
|
||||||
|
)
|
||||||
- attrib +r /s /d
|
- attrib +r /s /d
|
||||||
- mkdir %Platform%-mswin_%vs%
|
- mkdir %Platform%-mswin_%vs%
|
||||||
build_script:
|
build_script:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче