-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (30 loc) · 988 Bytes
/
build_wheels_linux.yml
File metadata and controls
32 lines (30 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build wheels (Linux)
on: [workflow_dispatch]
jobs:
build_wheels_linux:
name: Build wheels on ubuntu-22.04
runs-on: ubuntu-22.04
env:
CIBW_BUILD: cp310-* cp311-* cp312-* cp313-* cp314-*
CIBW_SKIP: "*musllinux*"
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_TEST_REQUIRES: pytest mock pure-sasl eventlet
CIBW_TEST_COMMAND: echo "wheel is installed"
CIBW_BEFORE_ALL: yum install -y libev libev-devel
CIBW_ENVIRONMENT: CFLAGS='-s -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall'
CIBW_BUILD_VERBOSITY: 3
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: linux/arm64
- uses: pypa/cibuildwheel@v3.2.1
with:
package-dir: ./python-driver
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-linux
path: ./wheelhouse/*.whl