diff options
author | mattip <matti.picus@gmail.com> | 2022-04-08 01:05:59 +0300 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-04-11 19:47:19 -0400 |
commit | d068d10723684bf17acd2bd876ab42a2f822852a (patch) | |
tree | 8757a5616b55892a1eb9c16bb3ec53c655bf9131 | |
parent | 1bb0387e676bd3775d304ff260604d90cd59508e (diff) | |
download | meson-d068d10723684bf17acd2bd876ab42a2f822852a.zip meson-d068d10723684bf17acd2bd876ab42a2f822852a.tar.gz meson-d068d10723684bf17acd2bd876ab42a2f822852a.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') { |