Skip to content

Commit 14c74bb

Browse files
committed
Update deploy script
1 parent 0067e99 commit 14c74bb

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ on: [push, pull_request]
66
jobs:
77
deploy:
88
runs-on: macos-latest
9-
env:
10-
CIBW_BUILD_VERBOSITY: 3
11-
CIBW_BUILD: "cp37-macosx_x86_64 cp38-macosx_universal2 cp39-macosx_universal2 cp310-macosx_universal2 cp311-macosx_universal2 cp312-macosx_universal2"
12-
CIBW_ARCHS_MACOS: "x86_64 universal2"
13-
CIBW_TEST_COMMAND: python -c "from pyobjus import autoclass, objc_str"
14-
CIBW_TEST_SKIP: "*arm64*"
159
steps:
1610
- uses: actions/checkout@v5
1711

@@ -20,16 +14,18 @@ jobs:
2014
with:
2115
python-version: '3.x'
2216

23-
- name: Install dependencies
24-
run: python -m pip install --upgrade twine cibuildwheel~=2.16.2 cython setuptools
25-
2617
- name: Build sdist
2718
run: |
2819
python setup.py sdist --formats=gztar
2920
3021
- name: Build wheels
31-
run: |
32-
python -m cibuildwheel --output-dir dist
22+
uses: pypa/cibuildwheel@v3.3.0
23+
env:
24+
CIBW_BUILD_VERBOSITY: 3
25+
CIBW_ARCHS_MACOS: "x86_64 universal2"
26+
CIBW_TEST_COMMAND: python -c "from pyobjus import autoclass, objc_str"
27+
with:
28+
output-dir: dist
3329

3430
- name: Create artifacts
3531
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)