CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was successful
Debian bookworm's Node 18 rejects the ES-module syntax used by the foreign-kernel tests; install NodeSource 22 before cargo test.
25 lines
827 B
YAML
25 lines
827 B
YAML
# Woodpecker CI pipeline for the Rust workspace.
|
|
# The strict security lane needs a disposable VM/self-hosted runner and is
|
|
# intentionally not part of this docker pipeline; see docs/security-vm.md.
|
|
when:
|
|
event: [push, pull_request]
|
|
|
|
steps:
|
|
test:
|
|
image: rust:1.100-bookworm
|
|
commands:
|
|
- rustup component add clippy rustfmt
|
|
- apt-get update
|
|
- apt-get install -y --no-install-recommends curl ca-certificates
|
|
- curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
|
|
- apt-get install -y --no-install-recommends nodejs
|
|
- cargo fmt --all -- --check
|
|
- cargo clippy --workspace --all-targets -- -D warnings
|
|
- cargo test --workspace --locked
|
|
|
|
build:
|
|
image: rust:1.100-bookworm
|
|
depends_on: [test]
|
|
commands:
|
|
- cargo build --release --locked -p marqdo-cli
|