Skip to content

Commit

Permalink
azure pipelines: force python2 to be installed
Browse files Browse the repository at this point in the history
Azure pipelines is removing python2 from the hostedtoolcache, see
actions/runner-images#7401

We want to test that meson can still build modules for it, anyway.
  • Loading branch information
eli-schwartz committed Jun 7, 2023
1 parent 00745c3 commit 82086d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}


Expand Down

0 comments on commit 82086d9

Please sign in to comment.