Skip to content

Commit c23ac56

Browse files
ad3002claude
andcommitted
Use maturin-action with manylinux container for Linux builds
- Switch to PyO3/maturin-action for proper manylinux_2_17 builds - Build inside container ensures glibc compatibility - Bump version to 1.7.2 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent cfdaac9 commit c23ac56

2 files changed

Lines changed: 8 additions & 17 deletions

File tree

.github/workflows/release-rust.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,18 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v4
4141

42-
- name: Set up Rust
43-
uses: dtolnay/rust-toolchain@stable
44-
with:
45-
targets: ${{ matrix.target }}
46-
47-
- name: Set up Python
48-
uses: actions/setup-python@v5
49-
with:
50-
python-version: '3.11'
51-
52-
- name: Install maturin
53-
run: pip install maturin
54-
55-
- name: Build wheel (Linux)
42+
- name: Build wheel (Linux with manylinux container)
5643
if: runner.os == 'Linux'
57-
run: |
58-
maturin build --release --target ${{ matrix.target }} --manylinux 2_17 --out dist
44+
uses: PyO3/maturin-action@v1
45+
with:
46+
target: ${{ matrix.target }}
47+
manylinux: 2_17
48+
args: --release --out dist
5949

6050
- name: Build wheel (macOS)
6151
if: runner.os == 'macOS'
6252
run: |
53+
pip install maturin
6354
maturin build --release --target ${{ matrix.target }} --out dist
6455
6556
- name: Upload wheel

src/rust/arraysplitter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "arraysplitter_rs"
3-
version = "1.7.1"
3+
version = "1.7.2"
44
edition = "2021"
55
authors = ["Aleksey Komissarov <ad3002@gmail.com>"]
66
description = "De novo decomposition of satellite DNA arrays into monomers"

0 commit comments

Comments
 (0)