Skip to content

Commit c8ba69c

Browse files
committed
Bump CI.
1 parent 9937372 commit c8ba69c

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
build:
77
strategy:
88
matrix:
9-
os: [ubuntu-18.04, macos-10.15, windows-2019]
9+
os: [ubuntu-20.04, macos-11, windows-2019]
1010
python-version: ["3.7", "3.8", "3.9", "3.10"]
1111
fail-fast: false
1212
runs-on: ${{ matrix.os }}
@@ -18,23 +18,24 @@ jobs:
1818
- name: Build & install
1919
shell: bash
2020
run: |
21-
set -x
21+
set -x &&
2222
23+
export DISTUTILS_DEBUG=1 &&
2324
python -mpip install --upgrade pip setuptools &&
2425
2526
case "$(python -c 'import sys; print(sys.platform)')" in
2627
linux)
2728
sudo PY_VERS="${{ matrix.python-version }}" tools/build-manylinux-wheel.sh &&
2829
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
3232
;;
3333
darwin)
3434
# Don't install inkscape: building it from source is a bit silly.
3535
export HOMEBREW_NO_INSTALL_CLEANUP=1 &&
3636
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 &&
3839
brew install ghostscript
3940
;;
4041
win32)

tools/build-macos-wheel.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ python -mvenv "$tmpenv"
1818

1919
(
2020
source "$tmpenv/bin/activate"
21-
python -mpip install --upgrade pip wheel delocate
21+
python -mpip install --upgrade pip setuptools wheel delocate
2222

2323
cd "$toplevel"
2424
python setup.py bdist_wheel

0 commit comments

Comments
 (0)