GitHub Action
maturin-action
GitHub Action to install and run a custom maturin command
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: messense/maturin-action@v1
with:
maturin-version: latest
command: build
args: --release
Optional maturin
command to run. Defaults to build
.
Optional Arguments to pass to the maturin
command.
Optional The version of maturin
to use. Must match a tagged release. Defaults to latest
.
See: https://github.com/PyO3/maturin/releases
Optional Control the manylinux platform tag on linux, ignored on other platforms.
Only passed to maturin build
and publish
commands.
Optional The --target
option for Cargo. Only passed to maturin build
and publish
commands.
Optional manylinux docker container image name, Default depends on target
and manylinux
options.
Set to off
to disable manylinux docker build and build on the host instead.
Optional Rust toolchain name. Defaults to stable
for Docker build.
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.