Skip to content

Commit

Permalink
feat: more architectures support
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokto committed Jun 6, 2023
1 parent f9357a8 commit c782b6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,18 @@ on:
jobs:
linux-wheels:
runs-on: ubuntu-latest
# container: quay.io/pypa/manylinux1_x86_64
strategy:
matrix:
target: [x86_64, i686, aarch64]
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: messense/maturin-action@v1
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
maturin-version: latest
command: build
manylinux: auto
args: --release --sdist -i 3.8 3.9 3.10 3.11
# - name: Build wheels
# run: |
# curl https://sh.rustup.rs -sSf | sh -s -- -y
# source $HOME/.cargo/env
# rustup default nightly-2019-12-11
# bash .github/workflows/build-wheels.sh
- uses: actions/upload-artifact@v1
with:
name: linux-wheels
Expand Down Expand Up @@ -103,5 +96,4 @@ jobs:
with:
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: wheels/
verify_metadata: false

verify_metadata: false
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lzstring_optimized"
version = "0.5.0"
version = "0.6.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit c782b6e

Please sign in to comment.