Skip to content

Commit b7b0a4f

Browse files
authored
Fix cibuildwheel on GitHub Action (#291)
1 parent 829e9a7 commit b7b0a4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,22 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest, windows-latest, macos-latest]
14+
# macos-13 is an intel runner, macos-14 is apple silicon
15+
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
1516

1617
steps:
1718
- uses: actions/checkout@v4
1819
with:
1920
submodules: true
2021

2122
- name: Build wheels
22-
uses: pypa/cibuildwheel@v2.16.2
23+
uses: pypa/cibuildwheel@v2.17.0
2324
env:
2425
CIBW_BUILD: cp*
2526
CIBW_SKIP: "*-win32 *_i686 *musllinux*"
2627
CIBW_TEST_REQUIRES: pytest
2728
CIBW_TEST_COMMAND: pytest {package}/tests/test_chatglm_cpp.py
2829

29-
- uses: actions/upload-artifact@v3
30+
- uses: actions/upload-artifact@v4
3031
with:
3132
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)