pict-rs/.forgejo/actions/build-amd64/action.yaml
asonix 49ab2e0cb2
Some checks failed
/ test-action (push) Failing after 6s
/ check (docker.io/asonix/rust-builder:latest-linux-amd64, x86_64-unknown-linux-musl) (push) Has been cancelled
/ check (docker.io/asonix/rust-builder:latest-linux-arm32v7, armv7-unknown-linux-musleabihf) (push) Has been cancelled
/ check (docker.io/asonix/rust-builder:latest-linux-arm64v8, aarch64-unknown-linux-musl) (push) Has been cancelled
/ tests (push) Has been cancelled
/ clippy (push) Has been cancelled
Try for docker action
2024-02-07 13:52:21 -06:00

26 lines
547 B
YAML

name: Build x86_64 Rust Binary
desctiption: Compiles a rust binary with a bespoke rust image
inputs:
name:
description: Name of the binary being compiled
required: true
action:
description: Action to take
required: true
default: build
build_mode:
description: debug or release
required: true
default: debug
outputs:
path:
description: Path to the produced binary
runs:
using: docker
image: Dockerfile
steps:
args:
- ${{ inputs.name }}
- ${{ inputs.action }}
- ${{ inputs.build_mode }}