Fix broken macOS CI pipelines (#15376)

Import the D keyring to allow checking signatures for downloaded D
compilers.
This commit is contained in:
Jacob Carlborg 2023-07-03 14:20:29 +02:00 committed by GitHub
parent ae23672059
commit 0b0bdf76bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,17 @@ testsuite() {
}
download_install_sh() {
if command -v gpg > /dev/null; then
curl -fsSL \
-A "$CURL_USER_AGENT" \
--connect-timeout 5 \
--speed-time 30 \
--speed-limit 1024 \
--retry 5 \
--retry-delay 5 \
https://dlang.org/d-keyring.gpg | gpg --import /dev/stdin
fi
local mirrors location
location="${1:-install.sh}"
mirrors=(