diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..fad581d --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,12 @@ +pipeline: + tokio-messaging: + image: "rust:alpine" + commands: + # Required to avoid the crti.o error (https://github.com/rust-lang/rust/issues/40174) + - apk add --no-cache musl-dev + # Fetch faster + - mkdir -p ~/.cargo && echo -e '[registries.crates-io]\nprotocol = "sparse"' > ~/.cargo/config.toml + + - cargo check + - cargo build + - cargo test --workspace