Skip to content

Commit

Permalink
Merge pull request #46 from fonttools/support-pypy3
Browse files Browse the repository at this point in the history
Make pypy 7.3 wheels for Linux
  • Loading branch information
madig authored Aug 2, 2021
2 parents 7468700 + c535ea5 commit abb8a13
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,31 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.6, 3.7, 3.8, 3.9, "pypy3.7-7.3.5"]
os: [ubuntu-latest, macos-latest]
platform: [x64]
exclude:
- os: macos-latest
python-version: "pypy3.7-7.3.5"
env:
REPO_DIR: "."
PLAT: "x86_64"
UNICODE_WIDTH: 32
MB_PYTHON_VERSION: "${{ matrix.python-version }}"
MB_ML_VER: 2014
DOCKER_TEST_IMAGE: "multibuild/xenial_x86_64"
TEST_DEPENDS: "tox"
MB_PYTHON_VERSION: ${{ matrix.python-version }}
TRAVIS_PYTHON_VERSION: ${{ matrix.python-version }}
BUILD_SKIA_FROM_SOURCE: 0
SKIA_LIBRARY_DIR: "build/download"

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: "3.x"
- name: Set up environment variables
run: |
if [ "macos-latest" == "${{ matrix.os }}" ]; then
Expand Down
6 changes: 1 addition & 5 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@ function run_tests {
exit 1
fi

# select tox environment based on the current python version
# E.g.: '2.7' -> 'py27'
TOXENV="py${MB_PYTHON_VERSION//\./}"

# Install pre-compiled wheel and run tests against it
tox --installpkg "${wheel}" -e "${TOXENV}"
tox --installpkg "${wheel}" -e py

# clean up after us, or else running tox later on outside the docker
# container can lead to permission errors
Expand Down

0 comments on commit abb8a13

Please sign in to comment.