Skip to content

Commit 21325b8

Browse files
committed
Merge remote-tracking branch 'upstream/master' into gha-msys
# Conflicts: # .appveyor.yml # .github/workflows/test-windows.yml
2 parents c0f7a91 + f4fb9c5 commit 21325b8

25 files changed

Lines changed: 798 additions & 1331 deletions

.appveyor.yml

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,42 @@
11
version: '{build}'
2+
image: Visual Studio 2017
23
clone_folder: c:\pillow
34
init:
45
- ECHO %PYTHON%
56
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
67
# Uncomment previous line to get RDP access during the build.
78

89
environment:
9-
X64_EXT: -x64
1010
EXECUTABLE: python.exe
1111
PIP_DIR: Scripts
12-
VENV: NO
1312
TEST_OPTIONS:
1413
DEPLOY: YES
1514
matrix:
1615
- PYTHON: C:/Python38
17-
- PYTHON: C:/Python38-x64
18-
- PYTHON: C:/Python35
16+
ARCHITECTURE: x86
1917
- PYTHON: C:/Python35-x64
20-
- PYTHON: C:/vp/pypy3
21-
EXECUTABLE: bin/pypy.exe
22-
VENV: YES
18+
ARCHITECTURE: x64
2319

2420

2521
install:
2622
- curl -fsSL -o pillow-depends.zip https://github.com/python-pillow/pillow-depends/archive/master.zip
2723
- 7z x pillow-depends.zip -oc:\
2824
- mv c:\pillow-depends-master c:\pillow-depends
29-
- xcopy c:\pillow-depends\*.zip c:\pillow\winbuild\
30-
- xcopy c:\pillow-depends\*.tar.gz c:\pillow\winbuild\
3125
- xcopy /s c:\pillow-depends\test_images\* c:\pillow\tests\images
26+
- 7z x ..\pillow-depends\nasm-2.14.02-win64.zip -oc:\
27+
- curl -fsSL -o gs952.exe https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/gs952w32.exe
28+
- gs952.exe /S
29+
- path c:\nasm-2.14.02;C:\Program Files (x86)\gs\gs9.52\bin;%PATH%
3230
- cd c:\pillow\winbuild\
3331
- ps: |
34-
if ($env:PYTHON -eq "c:/vp/pypy3")
35-
{
36-
c:\pillow\winbuild\appveyor_install_pypy3.cmd
37-
}
38-
- ps: |
39-
c:\python37\python.exe c:\pillow\winbuild\build_dep.py
40-
c:\pillow\winbuild\build_deps.cmd
32+
c:\python37\python.exe c:\pillow\winbuild\build_prepare.py -v --depends=C:\pillow-depends\
33+
c:\pillow\winbuild\build\build_dep_all.cmd
4134
$host.SetShouldExit(0)
42-
- curl -fsSL -o gs952.exe https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/gs952w32.exe
43-
- gs952.exe /S
44-
- path %path%;C:\Program Files (x86)\gs\gs9.52\bin
35+
- path C:\pillow\winbuild\build\bin;%PATH%
4536

4637
build_script:
4738
- ps: |
48-
& $env:PYTHON/$env:EXECUTABLE c:\pillow\winbuild\build.py
39+
c:\pillow\winbuild\build\build_pillow.cmd install
4940
$host.SetShouldExit(0)
5041
- cd c:\pillow
5142
- '%PYTHON%\%EXECUTABLE% selftest.py --installed'
@@ -77,7 +68,7 @@ before_deploy:
7768
- cd c:\pillow
7869
- '%PYTHON%\%PIP_DIR%\pip.exe install wheel'
7970
- cd c:\pillow\winbuild\
80-
- '%PYTHON%\%EXECUTABLE% c:\pillow\winbuild\build.py --wheel'
71+
- c:\pillow\winbuild\build\build_pillow.cmd bdist_wheel
8172
- cd c:\pillow
8273
- ps: Get-ChildItem .\dist\*.* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
8374

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Python ${{ matrix.python-version }}
1414

1515
steps:
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v2
1717

1818
- name: pip cache
1919
uses: actions/cache@v1

.github/workflows/test-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
name: ${{ matrix.docker }}
3131

3232
steps:
33-
- uses: actions/checkout@v1
33+
- uses: actions/checkout@v2
3434

3535
- name: Build system information
3636
run: python .github/workflows/system-info.py

0 commit comments

Comments
 (0)