aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2022-04-08 01:05:59 +0300
committerEli Schwartz <eschwartz93@gmail.com>2022-04-12 06:58:04 -0400
commita9b63ff76fb823598a56fd9d9add4765dd0fb809 (patch)
tree6558775232803c5ec2bf5c10f92a836e7e0d9d8d
parent73fa3aad43f0dbda4625f1a57cbb25c8f410979c (diff)
downloadmeson-a9b63ff76fb823598a56fd9d9add4765dd0fb809.zip
meson-a9b63ff76fb823598a56fd9d9add4765dd0fb809.tar.gz
meson-a9b63ff76fb823598a56fd9d9add4765dd0fb809.tar.bz2
add a pypy3 for windows too
-rw-r--r--ci/run.ps110
1 files changed, 9 insertions, 1 deletions
diff --git a/ci/run.ps1 b/ci/run.ps1
index ddbf3d1..f093673 100644
--- a/ci/run.ps1
+++ b/ci/run.ps1
@@ -54,19 +54,27 @@ echo "Extracting ci_data.zip"
Expand-Archive $env:AGENT_WORKFOLDER\ci_data.zip -DestinationPath $env:AGENT_WORKFOLDER\ci_data
& "$env:AGENT_WORKFOLDER\ci_data\install.ps1" -Arch $env:arch -Compiler $env:compiler -Boost $true -DMD $dmd
+if ($env:arch -eq 'x64') {
+ DownloadFile -Source https://downloads.python.org/pypy/pypy3.8-v7.3.9-win64.zip -Destination $env:AGENT_WORKFOLDER\pypy38.zip
+ 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
+}
+
echo "=== PATH BEGIN ==="
echo ($env:Path).Replace(';',"`n")
echo "=== PATH END ==="
echo ""
-$progs = @("python","ninja","pkg-config","cl","rc","link")
+$progs = @("python","ninja","pkg-config","cl","rc","link","pypy3")
foreach ($prog in $progs) {
echo ""
echo "Locating ${prog}:"
where.exe $prog
}
+
echo ""
echo "Ninja / MSBuld version:"
if ($env:backend -eq 'ninja') {