Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Sep 11, 2024
1 parent e96bf34 commit bef637d
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,21 @@ name: 📦

on:
push:
branches:
- "**"
branches: ["**"]

jobs:
python-package:
name: Make PyPI package
runs-on: ubuntu-latest
container: quay.io/pypa/manylinux_2_28_x86_64
steps:
- uses: actions/checkout@v3
- uses: PyO3/maturin-action@v1
with:
command: build
args: --release
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rustfmt
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/checkout@v3
- name: Install LAPACK, OpenBLAS
run:
yum install -y lapack-devel blas-devel openssl-devel

- name: Install maturin
run: python3 -m pip install "maturin>=1.7" auditwheel
- name: Build python package
run: |
maturin build
auditwheel repair target/wheels/ndelement-0.1.0.dev0-py3-none-manylinux_2_35_x86_64.whl
- name: Show
run: |
auditwheel show target/wheels/ndelement-0.1.0.dev0-py3-none-manylinux_2_35_x86_64.whl

0 comments on commit bef637d

Please sign in to comment.