Skip to content

Commit 1572226

Browse files
committed
🧪 Add a Maturin-based package to CI
1 parent e7723a4 commit 1572226

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/reusable-smoke-test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ jobs:
9696
readme = "README.md"
9797
- name: Build the stub package sdist and wheel distributions
9898
run: python3 -m build
99+
- name: Create the Rust package directory
100+
run: mkdir -pv rust-example
101+
- name: Initialize a Rust project
102+
run: cargo init
103+
working-directory: rust-example
104+
- name: Build a Rust project
105+
run: pipx run maturin build --release --out ../dist/
106+
working-directory: rust-example
99107
- name: Register the stub package in devpi
100108
run: twine register dist/*.tar.gz
101109
env:

0 commit comments

Comments
 (0)