-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from radarhere/jammy
Upgrade other Ubuntu jobs to Jammy
- Loading branch information
Showing
36 changed files
with
274 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
FROM ubuntu:jammy | ||
|
||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cargo \ | ||
cmake \ | ||
ghostscript \ | ||
git \ | ||
libffi-dev \ | ||
libfreetype6-dev \ | ||
libfribidi-dev \ | ||
libharfbuzz-dev \ | ||
libjpeg-turbo-progs \ | ||
libjpeg8-dev \ | ||
liblcms2-dev \ | ||
libopenjp2-7-dev \ | ||
libssl-dev \ | ||
libtiff5-dev \ | ||
libwebp-dev \ | ||
meson \ | ||
netpbm \ | ||
python3.10-dbg \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-setuptools \ | ||
python3-tk \ | ||
sudo \ | ||
tcl8.6-dev \ | ||
tk8.6-dev \ | ||
virtualenv \ | ||
wget \ | ||
xvfb \ | ||
zlib1g-dev \ | ||
valgrind \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN useradd pillow \ | ||
&& addgroup pillow sudo \ | ||
&& mkdir /home/pillow \ | ||
&& chown pillow:pillow /home/pillow | ||
|
||
RUN virtualenv -p /usr/bin/python3.10-dbg --system-site-packages /vpy3 \ | ||
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \ | ||
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout pytest-valgrind \ | ||
&& chown -R pillow:pillow /vpy3 | ||
|
||
ADD depends /depends | ||
RUN cd /depends \ | ||
&& ./install_imagequant.sh \ | ||
&& ./install_raqm.sh | ||
|
||
COPY python.supp /depends | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $TRAVIS_BUILD_DIR:/Pillow pythonpillow/ubuntu-22.04-jammy-amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Makefile.sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
<py3_8_encode_current_locale> | ||
Memcheck:Cond | ||
... | ||
fun:encode_current_locale | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
|
||
PYTHONMALLOC=malloc valgrind --suppressions=/depends/python.supp --leak-check=no \ | ||
--log-file=/tmp/valgrind-output \ | ||
python3 -m pytest --no-memcheck -vv --valgrind --valgrind-log=/tmp/valgrind-output | ||
|
||
# To run one test in the image: | ||
# make bash | ||
# PYTHONMALLOC=malloc valgrind --leak-check=no --suppressions=/depends/python.supp pytest -vv --valgrind --no-memcheck Tests/test_file_eps.py | ||
|
||
# to run one test with GDB support: | ||
# PYTHONMALLOC=malloc valgrind --vgdb-error=0 --suppressions=../../test/python.supp pytest Tests/test_file_libtiff.py::TestFileLibTiff::test_custom_metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
docker pull ubuntu:focal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
FROM arm64v8/ubuntu:jammy | ||
|
||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cargo \ | ||
cmake \ | ||
ghostscript \ | ||
git \ | ||
libffi-dev \ | ||
libfreetype6-dev \ | ||
libfribidi-dev \ | ||
libharfbuzz-dev \ | ||
libjpeg-turbo-progs \ | ||
libjpeg8-dev \ | ||
liblcms2-dev \ | ||
libopenjp2-7-dev \ | ||
libssl-dev \ | ||
libtiff5-dev \ | ||
libwebp-dev \ | ||
meson \ | ||
netpbm \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-setuptools \ | ||
python3-tk \ | ||
sudo \ | ||
tcl8.6-dev \ | ||
tk8.6-dev \ | ||
virtualenv \ | ||
wget \ | ||
xvfb \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN useradd pillow \ | ||
&& addgroup pillow sudo \ | ||
&& mkdir /home/pillow \ | ||
&& chown pillow:pillow /home/pillow | ||
|
||
RUN virtualenv -p /usr/bin/python3.10 --system-site-packages /vpy3 \ | ||
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \ | ||
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \ | ||
&& chown -R pillow:pillow /vpy3 | ||
|
||
ADD depends /depends | ||
RUN cd /depends \ | ||
&& ./install_imagequant.sh \ | ||
&& ./install_raqm.sh | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/ubuntu-22.04-jammy-arm64v8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Makefile.sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
docker pull arm64v8/ubuntu:focal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
FROM ppc64le/ubuntu:jammy | ||
|
||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cargo \ | ||
cmake \ | ||
ghostscript \ | ||
git \ | ||
libffi-dev \ | ||
libfreetype6-dev \ | ||
libfribidi-dev \ | ||
libharfbuzz-dev \ | ||
libjpeg-turbo-progs \ | ||
libjpeg8-dev \ | ||
liblcms2-dev \ | ||
libopenjp2-7-dev \ | ||
libssl-dev \ | ||
libtiff5-dev \ | ||
libwebp-dev \ | ||
meson \ | ||
netpbm \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-setuptools \ | ||
python3-tk \ | ||
sudo \ | ||
tcl8.6-dev \ | ||
tk8.6-dev \ | ||
virtualenv \ | ||
wget \ | ||
xvfb \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN useradd pillow \ | ||
&& addgroup pillow sudo \ | ||
&& mkdir /home/pillow \ | ||
&& chown pillow:pillow /home/pillow | ||
|
||
RUN virtualenv -p /usr/bin/python3.10 --system-site-packages /vpy3 \ | ||
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \ | ||
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \ | ||
&& chown -R pillow:pillow /vpy3 | ||
|
||
ADD depends /depends | ||
RUN cd /depends \ | ||
&& ./install_imagequant.sh \ | ||
&& ./install_raqm.sh | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/ubuntu-22.04-jammy-ppc64le |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Makefile.sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
docker pull ppc64le/ubuntu:focal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
FROM s390x/ubuntu:jammy | ||
|
||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cmake \ | ||
ghostscript \ | ||
git \ | ||
libffi-dev \ | ||
libfreetype6-dev \ | ||
libfribidi-dev \ | ||
libharfbuzz-dev \ | ||
libimagequant-dev \ | ||
libjpeg-turbo-progs \ | ||
libjpeg8-dev \ | ||
liblcms2-dev \ | ||
libopenjp2-7-dev \ | ||
libtiff5-dev \ | ||
meson \ | ||
netpbm \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-setuptools \ | ||
python3-tk \ | ||
sudo \ | ||
tcl8.6-dev \ | ||
tk8.6-dev \ | ||
virtualenv \ | ||
wget \ | ||
xvfb \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN useradd pillow \ | ||
&& addgroup pillow sudo \ | ||
&& mkdir /home/pillow \ | ||
&& chown pillow:pillow /home/pillow | ||
|
||
RUN virtualenv -p /usr/bin/python3.10 --system-site-packages /vpy3 \ | ||
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \ | ||
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \ | ||
&& chown -R pillow:pillow /vpy3 | ||
|
||
ADD depends /depends | ||
RUN cd /depends \ | ||
&& ./install_imagequant.sh \ | ||
&& ./install_raqm.sh \ | ||
&& ./install_webp.sh | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/ubuntu-22.04-jammy-s390x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Makefile.sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
docker pull s390x/ubuntu:focal |