Commit ff2b051 1 parent 0a0a6ae commit ff2b051 Copy full SHA for ff2b051
File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 96
96
readme = "README.md"
97
97
- name : Build the stub package sdist and wheel distributions
98
98
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 : Populate the Rust package `pyproject.toml`
105
+ run : echo "$CONTENTS" > pyproject.toml
106
+ env :
107
+ CONTENTS : |
108
+ [build-system]
109
+ requires = [
110
+ "maturin ~=1.0",
111
+ ]
112
+ build-backend = "maturin"
113
+ working-directory : rust-example
114
+ - name : Build the stub package sdist and wheel distributions
115
+ run : python3 -m build -o ../dist/
116
+ working-directory : rust-example
99
117
- name : Register the stub package in devpi
100
118
run : |
101
119
for dist in dist/*.tar.gz
You can’t perform that action at this time.
0 commit comments