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)
This commit is contained in:
Martin Pulec
2023-01-18 11:00:21 +01:00
parent 571b9a7064
commit 07f5031c70

View File

@@ -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