Skip to content

Commit e5040d0

Browse files
authored
Configure Python 3.11 and update cibuildwheel settings
Updated Python version and build options for cibuildwheel.
1 parent cc01e60 commit e5040d0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,22 @@ jobs:
1515

1616
# Used to host cibuildwheel
1717
- uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.11'
20+
cache: 'pip'
1821

1922
- name: Install cibuildwheel
2023
run: python -m pip install cibuildwheel==3.2.1
2124

2225
- name: Build wheels
2326
run: python -m cibuildwheel --output-dir wheelhouse
24-
# to supply options, put them in 'env', like:
25-
# env:
26-
# CIBW_SOME_OPTION: value
27-
# ...
27+
env:
28+
# Build for Python 3.8 through 3.12
29+
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
30+
# Skip PyPy builds
31+
CIBW_SKIP: pp*
32+
# Test before building (optional)
33+
CIBW_TEST_COMMAND: python -c "import libcrypto; print(f'libcrypto {libcrypto.__version__}')"
2834

2935
- uses: actions/upload-artifact@v4
3036
with:

0 commit comments

Comments
 (0)