8484 run : make checks
8585 if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
8686
87- - name : Install build dependencies
88- run : pip install cibuildwheel
89-
90- - name : Build (Linux)
91- run : make build-cibw
92- env :
93- CIBW_BUILD : " ${{ matrix.cibuildwheel }}-manylinux*"
94- CIBW_BUILD_VERBOSITY : 3
95- if : matrix.os == 'ubuntu-latest'
96-
97- - name : Build (Macos)
98- run : make build-cibw
99- env :
100- CIBW_BUILD : " ${{ matrix.cibuildwheel }}-macos*"
101- CIBW_BUILD_VERBOSITY : 3
102- if : matrix.os == 'macos-latest'
103-
104- - name : Build (Windows)
105- run : |
106- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
107- make build-cibw
108- shell : cmd
109- env :
110- CIBW_BUILD : " ${{ matrix.cibuildwheel }}-win_amd64"
111- CIBW_BEFORE_ALL : call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
112- if : matrix.os == 'windows-latest'
113-
11487 - name : Test
11588 run : make coverage
11689
@@ -132,6 +105,37 @@ jobs:
132105 with :
133106 token : ${{ secrets.CODECOV_TOKEN }}
134107
108+ - name : Install build dependencies
109+ run : pip install cibuildwheel
110+
111+ - name : Make dist (Linux)
112+ run : |
113+ make dist-py-sdist
114+ make dist-py-wheel
115+ make dist-check
116+ env :
117+ CIBW_BUILD : " ${{ matrix.cibuildwheel }}-manylinux*"
118+ CIBW_BUILD_VERBOSITY : 3
119+ if : matrix.os == 'ubuntu-latest'
120+
121+ - name : Make dist (Macos)
122+ run : |
123+ make dist-py-wheel
124+ env :
125+ CIBW_BUILD : " ${{ matrix.cibuildwheel }}-macos*"
126+ CIBW_BUILD_VERBOSITY : 3
127+ if : matrix.os == 'macos-latest'
128+
129+ - name : Make dist (Windows)
130+ run : |
131+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
132+ make dist-py-wheel
133+ shell : cmd
134+ env :
135+ CIBW_BUILD : " ${{ matrix.cibuildwheel }}-win_amd64"
136+ CIBW_BEFORE_ALL : call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
137+ if : matrix.os == 'windows-latest'
138+
135139 - uses : actions/upload-artifact@v7
136140 with :
137141 name : dist-${{matrix.os}}-${{matrix.python-version}}
0 commit comments