Skip to content

Commit 6910c93

Browse files
committed
More wheels
1 parent e6faf4f commit 6910c93

2 files changed

Lines changed: 35 additions & 30 deletions

File tree

.github/workflows/publish.yml

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, ubuntu-24.04-arm]
16+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
1717
outputs:
1818
tag: ${{ steps.read_ver.outputs.tag }}
1919
file_ver: ${{ steps.read_ver.outputs.file_ver }}
@@ -56,7 +56,8 @@ jobs:
5656
5757
print(f"✅ Version OK: tag={tag} matches setup.py={ver}")
5858
59-
- name: Build wheels
59+
- name: Build wheels (linux)
60+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
6061
run: python -m cibuildwheel --output-dir dist
6162
env:
6263
CIBW_BUILD: "cp39-*"
@@ -69,6 +70,10 @@ jobs:
6970
# Don't build PyPy and MUSL wheels for now
7071
CIBW_SKIP: "pp* *-musllinux_*"
7172

73+
- name: Build wheels (windows and macos)
74+
if: matrix.os == 'windows-latest' || matrix.os == 'macos-latest'
75+
run: python -m build --wheel
76+
7277
- name: Build sdist (once)
7378
if: ${{ matrix.os == 'ubuntu-latest' }}
7479
run: python -m build --sdist
@@ -82,33 +87,33 @@ jobs:
8287
dist/*.tar.gz
8388
if-no-files-found: error
8489

85-
test_sdist:
86-
needs: build
87-
name: Test sdist on ${{ matrix.os }}
88-
runs-on: ${{ matrix.os }}
89-
strategy:
90-
matrix:
91-
os: [windows-latest, macos-latest]
92-
steps:
93-
- uses: actions/checkout@v4
94-
95-
- name: Download all dists
96-
uses: actions/download-artifact@v4
97-
with:
98-
pattern: dist-*
99-
merge-multiple: true
100-
path: dist
101-
102-
- uses: actions/setup-python@v5
103-
with:
104-
python-version: "3.x"
105-
106-
- name: Install
107-
shell: bash
108-
run: pip install pytest syrupy dist/*.tar.gz
109-
110-
- name: Run tests
111-
run: script/test
90+
# test_sdist:
91+
# needs: build
92+
# name: Test sdist on ${{ matrix.os }}
93+
# runs-on: ${{ matrix.os }}
94+
# strategy:
95+
# matrix:
96+
# os: [windows-latest, macos-latest]
97+
# steps:
98+
# - uses: actions/checkout@v4
99+
100+
# - name: Download all dists
101+
# uses: actions/download-artifact@v4
102+
# with:
103+
# pattern: dist-*
104+
# merge-multiple: true
105+
# path: dist
106+
107+
# - uses: actions/setup-python@v5
108+
# with:
109+
# python-version: "3.x"
110+
111+
# - name: Install
112+
# shell: bash
113+
# run: pip install pytest syrupy dist/*.tar.gz
114+
115+
# - name: Run tests
116+
# run: script/test
112117

113118
changelog:
114119
needs: build

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
os: [ubuntu-latest, ubuntu-24.04-arm]
19+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-latest]
2020

2121
steps:
2222
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)