6
6
build :
7
7
strategy :
8
8
matrix :
9
- os : [ubuntu-18 .04, macos-10.15 , windows-2019]
9
+ os : [ubuntu-20 .04, macos-11 , windows-2019]
10
10
python-version : ["3.7", "3.8", "3.9", "3.10"]
11
11
fail-fast : false
12
12
runs-on : ${{ matrix.os }}
@@ -18,23 +18,24 @@ jobs:
18
18
- name : Build & install
19
19
shell : bash
20
20
run : |
21
- set -x
21
+ set -x &&
22
22
23
+ export DISTUTILS_DEBUG=1 &&
23
24
python -mpip install --upgrade pip setuptools &&
24
25
25
26
case "$(python -c 'import sys; print(sys.platform)')" in
26
27
linux)
27
28
sudo PY_VERS="${{ matrix.python-version }}" tools/build-manylinux-wheel.sh &&
28
29
sudo apt update &&
29
- sudo apt install ghostscript inkscape \
30
- texlive-latex-{base,recommended,extra} texlive-fonts-recommended cm-super dvipng &&
31
- pip install 'pycairo<1.20' # 1.20 requires too-recent cairo for Ubuntu 16.04.
30
+ sudo apt install ghostscript inkscape cm-super dvipng \
31
+ texlive-latex-{base,recommended,extra} texlive-fonts-recommended
32
32
;;
33
33
darwin)
34
34
# Don't install inkscape: building it from source is a bit silly.
35
35
export HOMEBREW_NO_INSTALL_CLEANUP=1 &&
36
36
brew install cairo pkg-config &&
37
- PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig tools/build-macos-wheel.sh &&
37
+ MACOSX_DEPLOYMENT_TARGET=10.13 PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig \
38
+ tools/build-macos-wheel.sh &&
38
39
brew install ghostscript
39
40
;;
40
41
win32)
0 commit comments