mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Problem: Appveyor build fails to clone libsodium
Solution: set git user/email, otherwise git clone fails
This commit is contained in:
parent
5cc6755174
commit
6f76026541
@ -175,6 +175,10 @@ install:
|
|||||||
- cmd: echo "Generator='%CMAKE_GENERATOR%'"
|
- cmd: echo "Generator='%CMAKE_GENERATOR%'"
|
||||||
- cmd: echo "Platform='%Platform%'"
|
- cmd: echo "Platform='%Platform%'"
|
||||||
- cmd: if "%WITH_LIBSODIUM%"=="ON" set LIBSODIUMDIR=C:\projects\libsodium
|
- cmd: if "%WITH_LIBSODIUM%"=="ON" set LIBSODIUMDIR=C:\projects\libsodium
|
||||||
|
- cmd: if "%WITH_LIBSODIUM%"=="ON" (
|
||||||
|
git config --global user.email "test@appveyor.com" &&
|
||||||
|
git config --global user.name "appveyor"
|
||||||
|
)
|
||||||
- cmd: if "%WITH_LIBSODIUM%"=="ON" (
|
- cmd: if "%WITH_LIBSODIUM%"=="ON" (
|
||||||
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%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user