Skip to content

fix PyPy attempt 1

fix PyPy attempt 1 #23

Workflow file for this run

name: Build
on: [push]
jobs:
build_wheels:
name: Build ${{ matrix.cibw-build }} wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
cibw-py [cp37, pp37]
os: [ubuntu-20.04, windows-2019]

Check failure on line 12 in .github/workflows/bdist.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/bdist.yaml

Invalid workflow file

You have an error in your yaml syntax on line 12
include:
- os: ubuntu-20.04
cibw-host: manylinux_x86_64
- os: windows-2019
cibw-host: win_amd64
steps:
- uses: actions/checkout@v4
# Used to host cibuildwheel
- uses: actions/setup-python@v3
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.3
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: ${{ matrix.cibw-py }}-${{ matrix.cibw-host }}
# https://cibuildwheel.readthedocs.io/en/stable/options/#:~:text=cibuildwheel%20doesn%27t%20yet%20ship%20a%20default%20repair%20command%20for%20Windows%2E
CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}"
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl