mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Problem: appveyor has broken libsodium cache
Solution: fetch and reset instead of pulling
This commit is contained in:
parent
0e795be8a8
commit
ddfddf8f01
@ -183,7 +183,7 @@ install:
|
|||||||
if not exist "%LIBSODIUMDIR%" (
|
if not exist "%LIBSODIUMDIR%" (
|
||||||
git clone --branch stable --depth 1 --quiet "https://github.com/jedisct1/libsodium.git" %LIBSODIUMDIR%
|
git clone --branch stable --depth 1 --quiet "https://github.com/jedisct1/libsodium.git" %LIBSODIUMDIR%
|
||||||
) else (
|
) else (
|
||||||
git -C "%LIBSODIUMDIR%" pull
|
git -C "%LIBSODIUMDIR%" fetch --all && git -C "%LIBSODIUMDIR%" reset --hard origin/stable
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
- cmd: if "%WITH_LIBSODIUM%"=="ON" msbuild /v:minimal /maxcpucount:%NUMBER_OF_PROCESSORS% /p:Configuration=%Configuration%DLL %LIBSODIUMDIR%\builds\msvc\%MSVCYEAR%\libsodium\libsodium.vcxproj
|
- cmd: if "%WITH_LIBSODIUM%"=="ON" msbuild /v:minimal /maxcpucount:%NUMBER_OF_PROCESSORS% /p:Configuration=%Configuration%DLL %LIBSODIUMDIR%\builds\msvc\%MSVCYEAR%\libsodium\libsodium.vcxproj
|
||||||
|
Loading…
x
Reference in New Issue
Block a user