Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 33ec82dad4 | |||
| 8e10429829 | |||
| b79a1dda4e | |||
| 46132be3eb |
@@ -58,7 +58,7 @@ jobs:
|
||||
"*macos*" { $platform = 'darwin' }
|
||||
"*windows*" { $platform = 'win32'; if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
|
||||
}
|
||||
|
||||
|
||||
if ($buildMode -eq "freethreaded") {
|
||||
if ([semver]"${{ inputs.VERSION }}" -lt [semver]"3.13.0") {
|
||||
continue;
|
||||
|
||||
@@ -73,7 +73,7 @@ class NixPythonBuilder : PythonBuilder {
|
||||
$sourceUri = $this.GetSourceUri()
|
||||
Write-Host "Sources URI: $sourceUri"
|
||||
|
||||
$archiveFilepath = Download-File -Uri $sourceUri -OutputFolder $this.TempFolderLocation
|
||||
$archiveFilepath = Download-File -Uri $sourceUri -OutputFolder $this.WorkFolderLocation
|
||||
$expandedSourceLocation = Join-Path -Path $this.TempFolderLocation -ChildPath "SourceCode"
|
||||
New-Item -Path $expandedSourceLocation -ItemType Directory
|
||||
|
||||
@@ -114,7 +114,13 @@ class NixPythonBuilder : PythonBuilder {
|
||||
Write-Debug "make Python $($this.Version)-$($this.Architecture) $($this.Platform)"
|
||||
$buildOutputLocation = New-Item -Path $this.WorkFolderLocation -Name "build_output.txt" -ItemType File
|
||||
|
||||
Execute-Command -Command "make 2>&1 | tee $buildOutputLocation" -ErrorAction Continue
|
||||
### Skip test_bz2 during PGO profiling to work around libbz2 incompatibility
|
||||
### on Ubuntu 22.04 ARM runners (testDecompressorChunksMaxsize failure).
|
||||
if (($this.Architecture -match "arm64") -and ($this.Platform -match "22\.04") -and ($this.Version -ge [semver]"3.15.0-alpha.3")) {
|
||||
Execute-Command -Command "make PROFILE_TASK='-m test --pgo --ignore test_bz2 -j0' 2>&1 | tee $buildOutputLocation" -ErrorAction Continue
|
||||
} else {
|
||||
Execute-Command -Command "make 2>&1 | tee $buildOutputLocation" -ErrorAction Continue
|
||||
}
|
||||
Execute-Command -Command "make install" -ErrorAction Continue
|
||||
|
||||
Write-Debug "Done; Make log location: $buildOutputLocation"
|
||||
|
||||
@@ -5370,41 +5370,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.12.13",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.12.13-22652080177",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.12.13-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.13-22652080177/python-3.12.13-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.13-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.13-22652080177/python-3.12.13-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.13-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.13-22652080177/python-3.12.13-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.12.13-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.12.13-22652080177/python-3.12.13-linux-24.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.12.12",
|
||||
"stable": true,
|
||||
@@ -6903,41 +6868,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.11.15",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.11.15-22631496413",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.11.15-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.15-22631496413/python-3.11.15-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.11.15-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.15-22631496413/python-3.11.15-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.11.15-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.15-22631496413/python-3.11.15-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.11.15-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.11.15-22631496413/python-3.11.15-linux-24.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.11.14",
|
||||
"stable": true,
|
||||
@@ -8449,47 +8379,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.10.20",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/python-versions/releases/tag/3.10.20-22630057857",
|
||||
"files": [
|
||||
{
|
||||
"filename": "python-3.10.20-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.20-22630057857/python-3.10.20-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.20-linux-22.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.20-22630057857/python-3.10.20-linux-22.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.20-linux-22.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "22.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.20-22630057857/python-3.10.20-linux-22.04-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.20-linux-24.04-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.20-22630057857/python-3.10.20-linux-24.04-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "python-3.10.20-linux-24.04-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"platform_version": "24.04",
|
||||
"download_url": "https://github.com/actions/python-versions/releases/download/3.10.20-22630057857/python-3.10.20-linux-24.04-x64.tar.gz"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "3.10.19",
|
||||
"stable": true,
|
||||
|
||||
Reference in New Issue
Block a user