Skip to content

Commit

Permalink
ci: update cibuildwheel, which probably still works
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Aug 16, 2024
1 parent e1cd3fe commit 7280884
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,11 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }} # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Build and publish
- name: Checkout
uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.20.0
env:
CIBW_SKIP: cp*-musllinux_i686
CIBW_ENVIRONMENT: PATH="$HOME/.cargo/bin:$PATH"
Expand All @@ -372,11 +371,11 @@ jobs:
CIBW_ARCHS_MACOS: "x86_64 arm64"
# On an Linux Intel runner with qemu installed, build Intel and ARM wheels
CIBW_ARCHS_LINUX: "auto"
run: |
python3.9 -m pip install twine cibuildwheel==2.13.1
mkdir -p wheels
python3.9 -m cibuildwheel --output-dir wheels rustfst-python
python3.9 -m twine upload -u "__token__" -p ${{ secrets.PYPI_PASSWORD }} -r pypi --verbose wheels/*

- name: Setup Python
uses: actions/setup-python@v5

- name: Upload
run: |
python -m pip install twine
python -m twine upload -u "__token__" -p ${{ secrets.PYPI_PASSWORD }} -r pypi --verbose wheelhouse/*

0 comments on commit 7280884

Please sign in to comment.