[macOS] Get back pypy to big sur (#3524)

This commit is contained in:
Mikhail Timofeev
2021-06-06 23:44:10 +03:00
committed by GitHub
parent 3fbcebad7a
commit 46ced60271
4 changed files with 13 additions and 6 deletions

View File

@@ -40,11 +40,8 @@ function Build-ToolcacheSection {
$output += New-MDList -Lines (Get-ToolcacheRubyVersions) -Style Unordered
$output += New-MDHeader "Python" -Level 4
$output += New-MDList -Lines (Get-ToolcachePythonVersions) -Style Unordered
if ($os.IsLessThanBigSur) {
$output += New-MDHeader "PyPy" -Level 4
$output += New-MDList -Lines (Get-ToolcachePyPyVersions) -Style Unordered
}
$output += New-MDHeader "PyPy" -Level 4
$output += New-MDList -Lines (Get-ToolcachePyPyVersions) -Style Unordered
if( -not $os.IsHighSierra) {
$output += New-MDHeader "Node.js" -Level 4

View File

@@ -187,6 +187,7 @@
"./provision/core/chrome.sh",
"./provision/core/edge.sh",
"./provision/core/firefox.sh",
"./provision/core/pypy.sh",
"./provision/core/pipx-packages.sh"
]
},

View File

@@ -98,7 +98,7 @@ Describe "Toolcache" {
}
}
}
Context "PyPy" -Skip:($os.IsBigSur) {
Context "PyPy" {
$pypyDirectory = Join-Path $toolcacheDirectory "PyPy"
$pypyPackage = $packages | Where-Object { $_.ToolName -eq "pypy" } | Select-Object -First 1
$testCase = @{ PypyDirectory = $pypyDirectory }

View File

@@ -176,6 +176,15 @@
"3.9.*"
]
},
{
"name": "PyPy",
"arch": "x64",
"platform" : "darwin",
"versions": [
"2.7",
"3.7"
]
},
{
"name": "Node",
"url" : "https://raw.githubusercontent.com/actions/node-versions/main/versions-manifest.json",