summaryrefslogtreecommitdiffstats
path: root/.woodpecker/nix-ci.yml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-10-24 10:57:40 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-10-24 11:10:48 +0200
commit0c6e4fbff2523fd03cf693abaa7abfb84b4cfe20 (patch)
treec2e3b47c7c28f9403c44ec7d4e23dc44734487ce /.woodpecker/nix-ci.yml
parentbd06a1567c604bb65fec9ca04f8d6dae387064e3 (diff)
woodpecker: Split into two pipelines
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to '.woodpecker/nix-ci.yml')
-rw-r--r--.woodpecker/nix-ci.yml16
1 files changed, 16 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