Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit 1672a0e

Browse files
committed
Attempting to build lxml
0 parents  commit 1672a0e

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

.github/workflows/build-wheels.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Build Python Wheels
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- 'v*'
9+
pull_request:
10+
branches:
11+
- main
12+
workflow_dispatch:
13+
14+
jobs:
15+
build_wheels:
16+
name: Build ${{ matrix.python-version }} wheels on ${{ matrix.runner_arch }}
17+
runs-on: ${{ matrix.runner_os }}-${{ matrix.runner_arch }}
18+
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
python-version: ['3.12']
23+
include:
24+
- runner_os: ubuntu-latest
25+
runner_arch: x64
26+
cibw_build_value: "cp*-manylinux_x86_64 cp*-musllinux_x86_64"
27+
28+
- runner_os: ubuntu-latest
29+
runner_arch: arm64
30+
cibw_build_value: "cp*-manylinux_aarch64 cp*-musllinux_aarch64"
31+
32+
- runner_os: macos-latest
33+
runner_arch: arm64
34+
cibw_build_value: "cp*-macosx_x86_64 cp*-macosx_arm64"
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
with:
39+
fetch-depth: 0
40+
41+
- name: Set up Python ${{ matrix.python-version }}
42+
uses: actions/setup-python@v5
43+
with:
44+
python-version: ${{ matrix.python-version }}
45+
46+
- name: Install cibuildwheel
47+
run: pip install cibuildwheel==2.23.3
48+
49+
- name: Build wheels
50+
env:
51+
CIBW_BUILD: ${{ matrix.cibw_build_value }}
52+
run: cibuildwheel --output-dir wheelhouse
53+
54+
- name: Upload wheels
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: wheels-python${{ matrix.python-version }}-${{ matrix.runner_arch }}
58+
path: ./wheelhouse/*.whl

pyproject.toml

Whitespace-only changes.

0 commit comments

Comments
 (0)