Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| afecc6a8b9 | |||
| f4b22cc454 | |||
| 281024aec4 | |||
| 17b1cd02ca | |||
| 33a76c361a | |||
| 371f79b70a | |||
| 3b961aaf4b | |||
| e67096ebd1 | |||
| bd7c907270 | |||
| 8a3240d440 | |||
| 0da39d896f | |||
| 9fb025cb4b | |||
| 2c5eb53471 | |||
| 4a64b9faa7 | |||
| f122228a65 | |||
| de3f713ccc | |||
| 918fe6dc0f | |||
| 21af7aa4a5 | |||
| 39774a2eb7 |
@@ -0,0 +1 @@
|
||||
* @actions/virtual-environments-owners
|
||||
@@ -121,6 +121,11 @@ if ($LASTEXITCODE -ne 0) {
|
||||
Throw "Error happened during Python installation"
|
||||
}
|
||||
|
||||
Write-Host "Create `python3` symlink"
|
||||
if ($MajorVersion -ne "2") {
|
||||
New-Item -Path "$PythonArchPath\python3.exe" -ItemType SymbolicLink -Value "$PythonArchPath\python.exe"
|
||||
}
|
||||
|
||||
Write-Host "Install and upgrade Pip"
|
||||
$PythonExePath = Join-Path -Path $PythonArchPath -ChildPath "python.exe"
|
||||
cmd.exe /c "$PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip --no-warn-script-location"
|
||||
|
||||
@@ -21,9 +21,14 @@ function Analyze-MissingModules([string] $buildOutputLocation) {
|
||||
$regexMatch = [regex]::match($SplitBuiltOutput, $Pattern)
|
||||
if ($regexMatch.Success)
|
||||
{
|
||||
$module = $regexMatch.Groups[1].Value.Trim()
|
||||
Write-Host "Failed missing modules:"
|
||||
Write-Host $regexMatch.Groups[1].Value
|
||||
return 1
|
||||
Write-Host $module
|
||||
if ( ($module -eq "_tkinter") -and ($Version -eq "3.10.0-alpha.6") ) {
|
||||
Write-Host "$module $Version ignored"
|
||||
} else {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
return 0
|
||||
@@ -82,4 +87,4 @@ Describe "Tests" {
|
||||
"./dist/simple-test" | Should -ReturnZeroExitCode
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+459
-161
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user