diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-10-24 11:11:04 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-10-24 11:11:04 +0200 |
commit | b7adcfebb93fd16e26e25dcbe218975bbdd7e45e (patch) | |
tree | c2e3b47c7c28f9403c44ec7d4e23dc44734487ce | |
parent | ace5563a8f8428483c050759274d0a32de9f67d9 (diff) | |
parent | 0c6e4fbff2523fd03cf693abaa7abfb84b4cfe20 (diff) |
-rw-r--r-- | .woodpecker/nix-ci.yml | 16 | ||||
-rw-r--r-- | .woodpecker/rust-ci.yml | 20 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.woodpecker/nix-ci.yml b/.woodpecker/nix-ci.yml new file mode 100644 index 0000000..7332de1 --- /dev/null +++ b/.woodpecker/nix-ci.yml @@ -0,0 +1,16 @@ +pipeline: + nix-build: + image: nixos/nix + commands: + - nix-build ./default.nix -A ${SERVICE}Image + + nix-build-config: + image: nixos/nix + commands: + - nix-build ./default.nix -A config + +matrix: + SERVICE: + - hello + - world + - joiner diff --git a/.woodpecker/rust-ci.yml b/.woodpecker/rust-ci.yml new file mode 100644 index 0000000..9484493 --- /dev/null +++ b/.woodpecker/rust-ci.yml @@ -0,0 +1,20 @@ +pipeline: + check-service: + image: rust:${RUST_VERSION} + pull: true + commands: + - echo "Using rust:${RUST_VERSION} on service-${SERVICE}" + - cd service-${SERVICE} + - cargo check + when: + event: [ push, pull_request ] + +matrix: + SERVICE: + - hello + - world + - joiner + RUST_VERSION: + - latest + - 1.54.0 + |