diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 859841f..9b340d5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -24,6 +24,9 @@ jobs: run: sudo apt-get install swig - uses: actions/setup-python@v2 + + - name: Install poetry + run: python -m pip install poetry==1.1.12 - name: Install cibuildwheel run: python -m pip install cibuildwheel==1.10.0 @@ -31,15 +34,8 @@ jobs: - name: Build wheels env: CIBW_ARCHS: auto - CIBW_BUILD: cp35-* cp36-* cp37-* cp38-* cp39-* - CIBW_BEFORE_BUILD: > - ln -s $(pwd) pkg/pypi/native; - cp -f src/bindings/python/*.py pkg/pypi/libzt/; - cd pkg/pypi; - python setup.py build_clib - run: | - swig -c++ -python -o src/bindings/python/zt_wrap.cxx -Iinclude src/bindings/python/zt.i - python -m cibuildwheel pkg/pypi --output-dir wheelhouse + CIBW_BUILD: cp35-* cp36-* cp37-* cp38-* cp39-* cp310-* + run: python -m cibuildwheel pkg/pypi --output-dir wheelhouse - uses: actions/upload-artifact@v2 with: