From bd06a1567c604bb65fec9ca04f8d6dae387064e3 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 24 Oct 2021 10:55:20 +0200 Subject: woodpecker: Add builds using nix Signed-off-by: Matthias Beyer --- .woodpecker/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index 8b1a2bd..2e849e9 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -9,6 +9,17 @@ pipeline: when: event: [ push, pull_request ] + 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 -- cgit v1.2.3