Add woodpecker pipeline

This commit is contained in:
Nehu 2023-04-01 01:37:36 +02:00
parent 804b38fefc
commit fd6d8b88de
No known key found for this signature in database
GPG key ID: B6EBE2FCCD603DD9

12
.woodpecker.yml Normal file
View file

@ -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