Skip to content

Commit

Permalink
CI: factor out PyPy into a separate "job"
Browse files Browse the repository at this point in the history
  • Loading branch information
James-E-A committed Jan 30, 2024
1 parent dca7f32 commit 3fee780
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/bdist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ on: [push]

jobs:
build_wheels:
name: bdist_wheel on ${{ matrix.os }}
name: bdist_wheel for ${{ matrix.cibw-impl-name }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# FIXME? PQClean GNU extensions break clang thus MacOS
os: [ubuntu-20.04, windows-2019]
cibw-impl: ["cp3*", "pp3*"]
include:
- cibw-impl: "cp3*"
cibw-impl-name: "CPython 3.X"
- cibw-impl: "pp3*"
cibw-impl-name: "PyPy 3.X"

steps:
- uses: actions/checkout@v4
Expand All @@ -23,6 +29,7 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD "${{ matrix.cibw-impl }}*"
CIBW_BUILD_VERBOSITY: 1
# FIXME? cibuildwheel doesn't property implement delvewheel yet (delvewheel needs Python 3.7+ runtime, but CPython doesn't support using non-current runtimes for REPAIR_WHEEL_COMMAND)
# FIXME? PQClean GNU extensions break musl
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pypqc"
version = "0.0.6.2a0-dev9"
version = "0.0.6.2a0-dev10"
description = "Python bindings for the \"PQClean\" post-quantum cryptography library."
readme = "README.rst"
urls = {"Homepage" = "https://github.com/JamesTheAwesomeDude/pypqc"}
Expand Down

0 comments on commit 3fee780

Please sign in to comment.