Update publishing job

This commit is contained in:
Roman Mogylatov 2022-12-18 15:58:57 -05:00
parent fad248b4c5
commit 5e0fd25b5d

View File

@ -57,34 +57,31 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-22.04, windows-2019, macOS-10.15] os: [ubuntu-22.04, windows-2019, macos-11]
env: env:
CIBW_SKIP: cp27-win* CIBW_SKIP: cp27-win*
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v4 - name: Build wheels
with: uses: pypa/cibuildwheel@v2.11.3
python-version: 3.11 - uses: actions/upload-artifact@v3
- run: pip install cibuildwheel==2.1.3
- run: cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v2
with: with:
path: ./wheelhouse/*.whl path: ./wheelhouse/*.whl
build-wheels-linux-aarch64: build-wheels-linux-aarch64:
name: Build wheels (ubuntu-latest-aarch64) name: Build wheels (ubuntu-22.04-aarch64)
needs: [tests, linters] needs: [tests, linters]
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v1 if: runner.os == 'Linux'
- uses: actions/setup-python@v4 uses: docker/setup-qemu-action@v2
with: - name: Build wheels
python-version: 3.11 uses: pypa/cibuildwheel@v2.11.3
- run: pip install cibuildwheel==2.1.3 env:
- run: cibuildwheel --archs aarch64 --output-dir wheelhouse CIBW_ARCHS_LINUX: aarch64
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
path: ./wheelhouse/*.whl path: ./wheelhouse/*.whl