Skip to content

Commit

Permalink
arm only on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Dec 19, 2024
1 parent 8c149a0 commit 5f56276
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
enable: true # Enable PyPy builds
# - name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: '3.x'
# enable: true # Enable PyPy builds

# - name: Install pacakges
# run: python3 -m pip install --upgrade --upgrade-strategy eager twine cibuildwheel
Expand All @@ -38,7 +38,7 @@ jobs:
python3 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade --upgrade-strategy eager twine cibuildwheel
CIBW_ARCHS_MACOS=arm64,x86_64 python3 -m cibuildwheel --output-dir wheelhouse
CIBW_ARCHS_MACOS=arm64 python3 -m cibuildwheel --output-dir wheelhouse
python3 setup.py sdist
ls -lrt wheelhouse/*
Expand Down

0 comments on commit 5f56276

Please sign in to comment.