diff --git a/.github/workflows/release_pypi.yaml b/.github/workflows/release_pypi.yaml index 0a678aa..993a4bc 100644 --- a/.github/workflows/release_pypi.yaml +++ b/.github/workflows/release_pypi.yaml @@ -4,6 +4,8 @@ on: release: types: - created + pull_request: + branches: [main] jobs: build_wheels: @@ -66,6 +68,7 @@ jobs: CIBW_BEFORE_ALL_WINDOWS: rustup target add i686-pc-windows-msvc CIBW_BEFORE_BUILD: pip install setuptools-rust CIBW_ENVIRONMENT: PATH="$HOME/.cargo/bin:$PATH" + CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=10.12 CIBW_TEST_COMMAND: python -c "import outlines_core; print(outlines_core.__version__)" CMAKE_PREFIX_PATH: ./dist