From 6f760265414b144774df934c1d163ab2663cb54e Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 4 Jul 2021 12:24:09 +0100 Subject: [PATCH] Problem: Appveyor build fails to clone libsodium Solution: set git user/email, otherwise git clone fails --- appveyor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index f8247960..0f12778a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -175,6 +175,10 @@ install: - cmd: echo "Generator='%CMAKE_GENERATOR%'" - cmd: echo "Platform='%Platform%'" - 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" ( if not exist "%LIBSODIUMDIR%" ( git clone --branch stable --depth 1 --quiet "https://github.com/jedisct1/libsodium.git" %LIBSODIUMDIR%