summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2022-01-12 04:26:39 +0300
committerWerner Lemberg <wl@gnu.org>2022-01-12 06:22:15 +0100
commitca44a236a05163fb1222794c9455a84d98921de8 (patch)
treeadf2f10bb184bdff8fea02cf49e025fbe61fd93f
parentf1d3b9f10a84d8c6e1a77e2bd00248c4c09cf9d3 (diff)
downloadfreetype2-ca44a236a05163fb1222794c9455a84d98921de8.tar.gz
.gitlab-ci.yml: Add steps to `before_script` to ensure recent CA.
Fetch current list of valid CAs from Windows Update and manually import them to trusted datastore. This action is required to make downloads work from sites that need recent Let's Encrypt ISRG Root X1 certificate.
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4bb58db4a..ac925c3a5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,9 @@ variables:
# -Dfoo=enabled
# -Dbar=disabled
before_script:
+ # Update RootCAs in order to access to some sites.
+ - certutil -generateSSTFromWU "C:\roots.sst"
+ - Import-Certificate -CertStoreLocation "Cert:\LocalMachine\Root" "C:\roots.sst"
# Make sure meson is up to date, so we don't need to rebuild the image
# with each release.
- pip3 install meson==0.59.1