Skip to content

Build wheels (Linux) #12

Build wheels (Linux)

Build wheels (Linux) #12

name: Build wheels (Linux)
on: [workflow_dispatch]
jobs:
build_wheels_linux:
name: Build wheels on ubuntu-20.04
runs-on: ubuntu-20.04
env:
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
CIBW_SKIP: "*musllinux*"
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_TEST_REQUIRES: pynose mock pure-sasl eventlet
CIBW_TEST_COMMAND: echo "wheel is installed"
CIBW_BEFORE_ALL: yum install -y libev libev-devel
CIBW_ENVIRONMENT: CFLAGS='-s'
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: linux/arm64
- name: Build wheels
run: cd python-driver && pipx run cibuildwheel==2.16.2
- uses: actions/upload-artifact@v3
with:
path: python-driver/wheelhouse/*.whl