Skip to content

Commit 938626a

Browse files
committed
action test
1 parent 22c5b4a commit 938626a

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,30 @@ name: Build
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
build_wheels:
710
name: Build wheels on ${{ matrix.os }}
811
runs-on: ${{ matrix.os }}
912
env:
10-
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-*
11-
CIBW_SKIP: cp36-* cp37-*win* cp38-*win* cp37-*mac* *-win32 *-manylinux_i686 pp* *musllinux*
13+
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-*
14+
CIBW_SKIP: cp36-* cp37-* *-win32 *-manylinux_i686 pp* *musllinux*
1215
strategy:
1316
matrix:
14-
os: [ubuntu-20.04, windows-latest, macos-13, macos-14]
17+
os: [ubuntu-22.04, windows-2025, macOS-15]
1518

1619
steps:
1720
- uses: actions/checkout@v4
1821

1922
# Used to host cibuildwheel
2023
- uses: actions/setup-python@v5
24+
with:
25+
python-version: '3.11'
2126

2227
- name: Install cibuildwheel
23-
run: python -m pip install cibuildwheel==2.19.2
28+
run: python -m pip install cibuildwheel==3.1.4
2429

2530
- name: Build wheels
2631
run: python -m cibuildwheel --output-dir wheelhouse
@@ -29,5 +34,5 @@ jobs:
2934

3035
- uses: actions/upload-artifact@v4
3136
with:
37+
name: cibw-wheels-${{ matrix.os }}
3238
path: ./wheelhouse/*.whl
33-
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}

0 commit comments

Comments
 (0)