-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
09e6918
commit 55af234
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters