From d58e136066798d5c613c099e1ee6f77126a84f9e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 9 Nov 2021 04:55:40 -0500 Subject: [PATCH] build: one pypy wheel to rule them all [skip actions] --- .github/workflows/kit.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml index 08b2e82be..fc4548586 100644 --- a/.github/workflows/kit.yml +++ b/.github/workflows/kit.yml @@ -164,7 +164,7 @@ jobs: path: dist/*.tar.gz pypy: - name: "Build PyPy wheels" + name: "Build PyPy wheel" runs-on: ubuntu-latest steps: - name: "Check out the repo" @@ -179,12 +179,11 @@ jobs: run: | pypy3 -m pip install -r requirements/kit.pip - - name: "Build wheels" + - name: "Build wheel" run: | + # One wheel works for all PyPy versions. # yes, this is weird syntax: https://github.com/pypa/build/issues/202 - pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp36" - pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp37" - pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp38" + pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp36.pp37.pp38" - name: "List wheels" run: |