aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-06-06 22:00:50 -0400
committerEli Schwartz <eschwartz@archlinux.org>2023-06-07 16:40:52 -0400
commitd28d4ac4edcb3978acebaf5c79566611e4cfb986 (patch)
tree13da674ab14604ae6fb1a640cbb3c16af134422b
parentdf053848ebbd0af2f0b4722aa88e5278d8321474 (diff)
downloadmeson-d28d4ac4edcb3978acebaf5c79566611e4cfb986.zip
meson-d28d4ac4edcb3978acebaf5c79566611e4cfb986.tar.gz
meson-d28d4ac4edcb3978acebaf5c79566611e4cfb986.tar.bz2
azure pipelines: force python2 to be installed
Azure pipelines is removing python2 from the hostedtoolcache, see https://github.com/actions/runner-images/issues/7401 We want to test that meson can still build modules for it, anyway.
-rw-r--r--ci/run.ps13
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/run.ps1 b/ci/run.ps1
index 5d720c2..badb4a7 100644
--- a/ci/run.ps1
+++ b/ci/run.ps1
@@ -59,6 +59,9 @@ if ($env:arch -eq 'x64') {
Expand-Archive $env:AGENT_WORKFOLDER\pypy38.zip -DestinationPath $env:AGENT_WORKFOLDER\pypy38
$ENV:Path = $ENV:Path + ";$ENV:AGENT_WORKFOLDER\pypy38\pypy3.8-v7.3.9-win64;$ENV:AGENT_WORKFOLDER\pypy38\pypy3.8-v7.3.9-win64\Scripts"
pypy3 -m ensurepip
+
+ DownloadFile -Source https://www.python.org/ftp/python/2.7.18/python-2.7.18.amd64.msi -Destination $env:AGENT_WORKFOLDER\python27.msi
+ Start-Process msiexec.exe -Wait -ArgumentList "/I $env:AGENT_WORKFOLDER\python27.msi /quiet"
}