Skip to content

Commit c48d64e

Browse files
authored
Merge pull request #171 from bashtage/update-cron-job
BLD: Update workflow for 0.14 changes
2 parents 9e5299b + 9ff6df4 commit c48d64e

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/build-wheels.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,23 @@ jobs:
5858

5959
- name: Build wheels (Default)
6060
uses: pypa/[email protected]
61-
if: (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-latest')
61+
if: (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-13')
6262
with:
6363
output-dir: wheelhouse
6464
package-dir: statsmodels
6565
env:
6666
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
67-
CIBW_ARCHS_OSX: "x86_64"
67+
CIBW_ARCHS_MACOS: "arm64"
6868

69-
- name: Build wheels (MacOS arm64)
70-
if: matrix.os == 'macos-latest'
69+
- name: Build wheels (MacOS x86_64)
70+
if: matrix.os == 'macos-13'
7171
uses: pypa/[email protected]
7272
with:
7373
output-dir: wheelhouse
7474
package-dir: statsmodels
7575
env:
7676
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
77-
CIBW_ARCHS_OSX: "arm64"
77+
CIBW_ARCHS_OSX: "x86_64"
7878

7979
- name: Build Pyodide wheel
8080
if: matrix.python_impl == 'Pyodide'
@@ -102,6 +102,12 @@ jobs:
102102
echo "ANACONDA_ORG=multibuild-wheels-staging" >> $GITHUB_ENV
103103
echo "TOKEN=$MULTIBUILD_WHEELS_STAGING_ACCESS" >> $GITHUB_ENV
104104
fi
105+
106+
# Used to ensure python is available for wheel upload
107+
- uses: actions/setup-python@v5
108+
with:
109+
python-version: '3.x'
110+
105111
- name: Upload wheels
106112
if: ${{ always() }}
107113
shell: bash

0 commit comments

Comments
 (0)