From 07f5031c708fcb15efdf3a3b54a5f85643ede33e Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 18 Jan 2023 11:00:21 +0100 Subject: [PATCH] GitHub CI Win: curl ca-cert path error workaround to mitigate some CA bundle path error with mingw-w64-clang-x86_64-curl curl: (77) error setting certificate file: C:/msys64/clang64/ssl/certs/ca-bundle.crt (eg. in https://github.com/MartinPulec/UltraGrid/actions/runs/3946986623/jobs/6755674412) there should be etc in the path (.../clang64/etc/ssl/...) This commit should be reverted when fixed in MSYS builds, so: /clang64/bin/curl -LS https://raw.githubusercontent.com/hellerf/EmbeddableWebServer/master/EmbeddableWebServer.h succeeds (without having `/clang64/ssl/certs/ca-bundle.crt` manual copy) --- .github/scripts/Windows/prepare_msys.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/scripts/Windows/prepare_msys.sh b/.github/scripts/Windows/prepare_msys.sh index 9ddd8b380..2a0d5e2d4 100644 --- a/.github/scripts/Windows/prepare_msys.sh +++ b/.github/scripts/Windows/prepare_msys.sh @@ -57,6 +57,10 @@ $PACMAN_INSTALL p7zip $PACMAN_INSTALL libtool # PCP pacman -Scc --noconfirm +# TOREMOVE curl error workaround - remowe when not needed +mkdir -p /clang64/ssl/certs +cp /clang64/etc/ssl/certs/ca-bundle.crt /clang64/ssl/certs + # Build AJA wrapper if we have SDK install_aja() {( git clone --depth 1 https://github.com/aja-video/ntv2 AJA