diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 109204e976..6a16bc4167 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,6 @@ on: jobs: release-python: name: Publish Fury Python to PyPI - runs-on: ubuntu-20.04 if: github.repository == 'apache/fury' environment: name: pypi @@ -33,6 +32,8 @@ jobs: strategy: matrix: python-version: [3.8, 3.9, 3.10.12, 3.11, 3.12] + os: [ubuntu-latest, macos-13, macos-14, windows-2022] # macos-13: x86, macos-14: arm64 + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -57,6 +58,7 @@ jobs: pip list export PATH=~/bin:$PATH echo "Build pyfury" + bazel build //:cp_fury_so python setup.py bdist_wheel --dist-dir=../dist ../ci/deploy.sh rename_linux_wheels $PWD/../dist - name: Publish wheel to PyPI