diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index b812adf..8d0d3af 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -29,7 +29,6 @@ jobs: CIBW_ARCHS_LINUX: "x86_64 aarch64" # No support for pypy, musl, Win32 for 3.10+ # Skip musl for 3.8 and 3.9 since no upstream wheels - CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}' CIBW_SKIP: "pp* *-win32 cp38-musllinux* cp39-musllinux* *musllinux_aarch64*" CIBW_TEST_REQUIRES: pytest pytest-xdist CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow','-n','2'], exit=True)" @@ -62,6 +61,7 @@ jobs: output-dir: wheelhouse package-dir: statsmodels env: + CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}' CIBW_ARCHS_MACOS: "arm64" - name: Build wheels (MacOS x86_64) @@ -71,6 +71,7 @@ jobs: output-dir: wheelhouse package-dir: statsmodels env: + CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}' CIBW_ARCHS_OSX: "x86_64" - name: Build Pyodide wheel @@ -80,6 +81,7 @@ jobs: output-dir: wheelhouse package-dir: statsmodels env: + CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}' CIBW_PLATFORM: pyodide - name: Setup Upload Variables