We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1572226 commit 3c535cfCopy full SHA for 3c535cf
.github/workflows/reusable-smoke-test.yml
@@ -101,9 +101,18 @@ jobs:
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/
+ - name: Populate the Rust package `pyproject.toml`
+ run: echo "$CONTENTS" > pyproject.toml
106
+ env:
107
+ CONTENTS: |
108
+ [build-system]
109
+ requires = [
110
+ "maturin ~=1.0",
111
+ ]
112
+ build-backend = "maturin"
113
114
+ - name: Build the stub package sdist and wheel distributions
115
+ run: python3 -m build rust-example/
116
- name: Register the stub package in devpi
117
run: twine register dist/*.tar.gz
118
env:
0 commit comments