mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-09 14:54:46 +03:00
test using 64-bit Python
This commit is contained in:
parent
1ee8efd66a
commit
3af9f16669
2
.github/workflows/test-windows.yml
vendored
2
.github/workflows/test-windows.yml
vendored
|
@ -238,7 +238,7 @@ jobs:
|
|||
- name: Test Wheel
|
||||
if: "github.event_name != 'pull_request'"
|
||||
run: |
|
||||
docker run --rm -v ${env:GITHUB_WORKSPACE}:C:\pillow mcr.microsoft.com/windows/servercore:ltsc2022 powershell C:\pillow\winbuild\test_docker.ps1 ${{ matrix.python-version }} ${{ matrix.architecture }}
|
||||
docker run --rm -v ${env:GITHUB_WORKSPACE}:C:\pillow mcr.microsoft.com/windows/servercore:ltsc2022 powershell C:\pillow\winbuild\test_docker.ps1 ${{ matrix.python-version }}
|
||||
shell: pwsh
|
||||
|
||||
- name: Upload wheel
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
param ([string]$python,[string]$arch)
|
||||
param ([string]$python)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
if ($python -like "pypy*") {
|
||||
|
@ -10,8 +10,7 @@ if ($python -like "pypy*") {
|
|||
tar -xf 'pypy.zip'
|
||||
mv pypy*-win64 C:\Python
|
||||
} else {
|
||||
$suffix = if ($arch -eq "x64") {"-amd64"} else {""}
|
||||
$url = 'https://www.python.org/ftp/python/{0}.0/python-{0}.0{1}.exe' -f ($python, $suffix)
|
||||
$url = 'https://www.python.org/ftp/python/{0}.0/python-{0}.0-amd64.exe' -f $python
|
||||
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
|
||||
Invoke-WebRequest -Uri $url -OutFile 'setup.exe'
|
||||
Start-Process setup.exe -Wait -NoNewWindow -PassThru -ArgumentList @(
|
||||
|
|
Loading…
Reference in New Issue
Block a user