Skip to content

Commit

Permalink
automatic release pyfury for macos arm64 and windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chaokunyang committed Feb 6, 2025
1 parent 2fe62ed commit ae62f8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ on:
jobs:
release-python:
name: Publish Fury Python to PyPI
runs-on: ubuntu-20.04
if: github.repository == 'apache/fury'
environment:
name: pypi
url: https://pypi.org/project/pyfury
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 }}
Expand All @@ -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
Expand Down

0 comments on commit ae62f8d

Please sign in to comment.