Build wheels (Linux) #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |