From e60b447198e0a9a1fa2819c154db6716fc5340f9 Mon Sep 17 00:00:00 2001 From: Emin Arslan Date: Wed, 14 Jan 2026 12:43:54 +0300 Subject: [PATCH] ci: added workflow for building on debian, moved nix build to another file --- .woodpecker/build-nix.yaml | 9 +++++++++ .woodpecker/build.yaml | 13 +++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 .woodpecker/build-nix.yaml diff --git a/.woodpecker/build-nix.yaml b/.woodpecker/build-nix.yaml new file mode 100644 index 0000000..5ee934e --- /dev/null +++ b/.woodpecker/build-nix.yaml @@ -0,0 +1,9 @@ + +steps: + - name: build-nix + image: nixos/nix:latest + when: + event: [tag, push, cron] + commands: + - nix --extra-experimental-features nix-command --extra-experimental-features flakes build + - ./result/bin/ollisp diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 5ee934e..60f3a64 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -1,9 +1,10 @@ +when: + event: [push cron pull_request manual] steps: - - name: build-nix - image: nixos/nix:latest - when: - event: [tag, push, cron] + - name: Debian + image: debian:13 + pull: true commands: - - nix --extra-experimental-features nix-command --extra-experimental-features flakes build - - ./result/bin/ollisp + - apt update && apt full-upgrade && apt install -y ocaml libfind-ocaml-dev libcontainers-ocaml-dev ocaml-dune + - dune build