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 }}
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-*"
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
0 commit comments