diff options
author | mattip <matti.picus@gmail.com> | 2022-04-08 01:05:59 +0300 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-04-12 06:58:04 -0400 |
commit | a9b63ff76fb823598a56fd9d9add4765dd0fb809 (patch) | |
tree | 6558775232803c5ec2bf5c10f92a836e7e0d9d8d | |
parent | 73fa3aad43f0dbda4625f1a57cbb25c8f410979c (diff) | |
download | meson-a9b63ff76fb823598a56fd9d9add4765dd0fb809.zip meson-a9b63ff76fb823598a56fd9d9add4765dd0fb809.tar.gz meson-a9b63ff76fb823598a56fd9d9add4765dd0fb809.tar.bz2 |
add a pypy3 for windows too
-rw-r--r-- | ci/run.ps1 | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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') { |