Skip to content

Commit

Permalink
debug! rust sdist+whl via pypa/build
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 6, 2024
1 parent 1572226 commit 3c535cf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/reusable-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,18 @@ jobs:
- name: Initialize a Rust project
run: cargo init
working-directory: rust-example
- name: Build a Rust project
run: pipx run maturin build --release --out ../dist/
- name: Populate the Rust package `pyproject.toml`
run: echo "$CONTENTS" > pyproject.toml
env:
CONTENTS: |
[build-system]
requires = [
"maturin ~=1.0",
]
build-backend = "maturin"
working-directory: rust-example
- name: Build the stub package sdist and wheel distributions
run: python3 -m build rust-example/
- name: Register the stub package in devpi
run: twine register dist/*.tar.gz
env:
Expand Down

0 comments on commit 3c535cf

Please sign in to comment.