Skip to content

Commit 39049bb

Browse files
committed
More changes
1 parent 62a44ac commit 39049bb

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.github/workflows/build-wheels.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
build_wheels:
13-
name: ${{ matrix.os }}, ${{matrix.python_impl }} ${{ matrix.python }}
13+
name: ${{ matrix.os }}, Python ${{matrix.python_impl }} ${{ matrix.python }}
1414
runs-on: ${{ matrix.os }}
1515
defaults:
1616
run:
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
python: [cp310, cp311, cp312, cp313, cp314]
22-
os: [ubuntu-latest, windows-latest, macos-15, macos-latest, windows-11-arm]
22+
os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel, windows-11-arm]
2323
python_impl: [Python]
2424
include:
2525
- python: cp312
@@ -32,11 +32,12 @@ jobs:
3232
BUILD_COMMIT: "main" # or a specific version, e.g., v0.13.1
3333
CIBW_BUILD: ${{ matrix.python }}-*
3434
CIBW_ARCHS_LINUX: "x86_64 aarch64"
35+
CIBW_ARCHS_MACOS: auto
3536
# No support for pypy, musl, Win32 for 3.10+
3637
# Skip musl for 3.8 and 3.9 since no upstream wheels
3738
CIBW_SKIP: "pp* *-win32 *musllinux_aarch64*"
3839
CIBW_TEST_REQUIRES: pytest pytest-xdist
39-
CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow','-n','2'], exit=True)"
40+
CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['-n','auto','--skip-examples','--skip-slow'], exit=True)"
4041
# Avoid testing on emulated architectures and Pyodide
4142
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *pyodide* *win_arm64*"
4243
CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'auditwheel repair --strip -w {dest_dir} {wheel}'
@@ -61,23 +62,12 @@ jobs:
6162

6263
- name: Build wheels (Default)
6364
uses: pypa/cibuildwheel@v3.2
64-
if: (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-13')
65+
if: (matrix.python_impl != 'Pyodide')
6566
with:
6667
output-dir: wheelhouse
6768
package-dir: statsmodels
6869
env:
6970
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
70-
CIBW_ARCHS_MACOS: "arm64"
71-
72-
- name: Build wheels (MacOS x86_64)
73-
if: matrix.os == 'macos-13'
74-
uses: pypa/cibuildwheel@v3.2
75-
with:
76-
output-dir: wheelhouse
77-
package-dir: statsmodels
78-
env:
79-
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
80-
CIBW_ARCHS_OSX: "x86_64"
8171

8272
- name: Build Pyodide wheel
8373
if: matrix.python_impl == 'Pyodide'

0 commit comments

Comments
 (0)