From a9b63ff76fb823598a56fd9d9add4765dd0fb809 Mon Sep 17 00:00:00 2001 From: mattip Date: Fri, 8 Apr 2022 01:05:59 +0300 Subject: add a pypy3 for windows too --- ci/run.ps1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ci') 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') { -- cgit v1.1