]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
ci: add ci on sourcehut
authorBaptiste Daroussin <bapt@FreeBSD.org>
Fri, 15 Dec 2023 15:53:42 +0000 (16:53 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Fri, 15 Dec 2023 15:53:42 +0000 (16:53 +0100)
.builds/alpine.yml [new file with mode: 0644]
.builds/freebsd.yml [new file with mode: 0644]

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644 (file)
index 0000000..ae69e2a
--- /dev/null
@@ -0,0 +1,24 @@
+image: alpine/latest
+packages:
+  - musl-dev
+  - gcc
+  - autoconf
+  - automake
+  - make
+  - pkgconf
+  - kyua
+  - m4
+  - atf-dev
+sources:
+  - https://codeberg.org/mlmmj/mlmmj
+tasks:
+  - configure: |
+      cd mlmmj
+      autoreconf -if
+      ./configure
+  - build: |
+      cd mlmmj
+      make
+  - test: |
+      cd mlmmj
+      make check || { kyua report --verbose; exit 1 ;}
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
new file mode 100644 (file)
index 0000000..1091b46
--- /dev/null
@@ -0,0 +1,21 @@
+image: freebsd/latest
+packages:
+  - kyua
+  - autoconf-switch
+  - autoconf
+  - automake
+  - atf
+  - pkgconf
+sources:
+  - https://codeberg.org/mlmmj/mlmmj
+tasks:
+  - configure: |
+      cd mlmmj
+      autoreconf -fi
+      ./configure
+  - build: |
+      cd mlmmj
+      make
+  - test: |
+      cd mlmmj
+      make check || { kyua report --verbose; exit 1 ;}