summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2021-03-26 14:53:41 +0900
committerAkira TAGOH <akira@tagoh.org>2021-03-26 15:45:00 +0900
commitb03140c14ed71a8b29ae6d5f76f254a2adfc4f22 (patch)
treea2ea722360583a90586feb6e871a4bf15c1bd6aa
parent60ce9b695ee9d1ac514a61f562e210d3278ba605 (diff)
ci: Update CA cert related thing for Python on Windows
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1a4062..1017fa6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,7 +157,7 @@ meson-mingw-w64-build:
# -Dbar=disabled
before_script:
# Make sure meson is up to date, so we don't need to rebuild the image with each release
- - pip3 install -U meson
+ - pip3 install -U meson certifi
script:
# For some reason, options are separated by newline instead of space, so we
# have to replace them first.
@@ -166,6 +166,9 @@ meson-mingw-w64-build:
# Environment variables substitutions is done by PowerShell before calling
# cmd.exe, that's why we use $env:FOO instead of %FOO%
- cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH &&
+ SET CERT_PATH=$(python -m certifi) &&
+ SET SSL_CERT_FILE=$(python -m certifi) &&
+ SET REQUESTS_CA_BUNDLE=$(python -m certifi) &&
meson build $env:MESON_ARGS &&
ninja -C build &&
ninja -C build test"