File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 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 : 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
99117 - name : Register the stub package in devpi
100118 run : |
101119 for dist in dist/*.tar.gz
You can’t perform that action at this time.
0 commit comments