Skip to content

Commit 9e62be6

Browse files
committed
Move common command to be shared
1 parent 8e4df23 commit 9e62be6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
CIBW_ARCHS_LINUX: "x86_64 aarch64"
3030
# No support for pypy, musl, Win32 for 3.10+
3131
# Skip musl for 3.8 and 3.9 since no upstream wheels
32+
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
3233
CIBW_SKIP: "pp* *-win32 cp38-musllinux* cp39-musllinux* *musllinux_aarch64*"
3334
CIBW_TEST_REQUIRES: pytest pytest-xdist
3435
CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow','-n','2'], exit=True)"
@@ -61,7 +62,6 @@ jobs:
6162
output-dir: wheelhouse
6263
package-dir: statsmodels
6364
env:
64-
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
6565
CIBW_ARCHS_MACOS: "arm64"
6666

6767
- name: Build wheels (MacOS x86_64)
@@ -71,7 +71,6 @@ jobs:
7171
output-dir: wheelhouse
7272
package-dir: statsmodels
7373
env:
74-
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
7574
CIBW_ARCHS_OSX: "x86_64"
7675

7776
- name: Build Pyodide wheel
@@ -81,7 +80,6 @@ jobs:
8180
output-dir: wheelhouse
8281
package-dir: statsmodels
8382
env:
84-
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
8583
CIBW_PLATFORM: pyodide
8684

8785
- name: Setup Upload Variables

0 commit comments

Comments
 (0)