From aeb8e89526bdf8dc4683a6d383bdec3ef95a86b9 Mon Sep 17 00:00:00 2001 From: Emin Arslan Date: Wed, 14 Jan 2026 21:46:42 +0300 Subject: [PATCH] ci: rename the debian workflow, add fedora workflow --- .woodpecker/{build.yaml => debian.yaml} | 4 +++- .woodpecker/fedora.yaml | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) rename .woodpecker/{build.yaml => debian.yaml} (52%) create mode 100644 .woodpecker/fedora.yaml diff --git a/.woodpecker/build.yaml b/.woodpecker/debian.yaml similarity index 52% rename from .woodpecker/build.yaml rename to .woodpecker/debian.yaml index 11056fa..f722c9e 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/debian.yaml @@ -6,5 +6,7 @@ steps: image: debian:13 pull: true commands: - - apt update && apt full-upgrade && apt install -y ocaml libfindlib-ocaml-dev libcontainers-ocaml-dev ocaml-dune menhir + - apt update && apt full-upgrade + - apt install -y ocaml libfindlib-ocaml-dev ocaml-dune menhir - dune build + - dune exec ollisp diff --git a/.woodpecker/fedora.yaml b/.woodpecker/fedora.yaml new file mode 100644 index 0000000..cb7ae31 --- /dev/null +++ b/.woodpecker/fedora.yaml @@ -0,0 +1,12 @@ +when: + event: [push, cron, pull_request, manual] + +steps: + - name: Build on Fedora + image: fedora:43 + pull: true + commands: + - dnf update + - dnf install -y ocaml ocaml-findlib menhir dune + - dune build + - dune exec ollisp