Skip to content

Commit

Permalink
Set up build pipeline for eggwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Myocardinal committed Aug 29, 2024
1 parent 09e6918 commit 55af234
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish eggwrap to PyPI

on: push

jobs:
build:
name: Build eggwrap
runs-on: ubuntu-latest

steps:
- name: Checking out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"

- uses: actions-rust-lang/setup-rust-toolchain@v1
name: Setup rust toolchain

- name: Install pypa/build and maturin
run: >-
python3 -m
pip install
build maturin
--user
- name: Build with maturin
uses: PyO3/maturin-action@v1
with:
command: build
args: --release

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
]


[tool.maturin]
features = ["pyo3/extension-module"]

0 comments on commit 55af234

Please sign in to comment.