Debian is already used in the GitLab CI, pick something more bleeding
edge here.

sr.ht only allows four parallel builds. Disable the Debian manifest, but
keep it around as a starter for someone wanting to test Debian with
sr.ht.
---
 .builds/archlinux.yml | 53 +++++++++++++++++++++++++++++++++++++++++++
 .builds/debian.yml    |  3 +++
 2 files changed, 56 insertions(+)
 create mode 100644 .builds/archlinux.yml

diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
new file mode 100644
index 00000000..3b59fc63
--- /dev/null
+++ b/.builds/archlinux.yml
@@ -0,0 +1,53 @@
+image: alpine/edge
+packages:
+- autoconf
+- automake
+- cyrus-sasl-dev
+- gdbm-dev
+- gettext-dev
+- gpgme-dev
+- libidn2-dev
+- ncurses-dev
+- openssl-dev
+- perl
+- tcc
+- tcc-libs-static
+sources:
+- https://git.sr.ht/~mutt/mutt
+tasks:
+- default: |
+    cd mutt
+    autoreconf -if
+    ./configure
+    make -j4 CFLAGS='-Wall -Werror'
+
+- without-wc-funcs: |
+    cd mutt
+    autoreconf -if
+    ./configure \
+        --without-wc-funcs
+    make -j4 CFLAGS='-Wall -Werror'
+
+- original: |
+    cd mutt
+    autoreconf -if
+    ./configure \
+        --enable-gpgme \
+        --enable-pop \
+        --enable-imap \
+        --enable-smtp \
+        --enable-hcache \
+        --enable-sidebar \
+        --without-included-gettext \
+        --with-mailpath=/var/spool/mail \
+        --with-curses \
+        --with-ssl \
+        --with-sasl \
+        --with-idn2
+    make -j4 CFLAGS='-Wall -Werror'
+
+- tcc: |
+    cd mutt
+    autoreconf -if
+    CC=tcc ./configure
+    make -j4 CFLAGS='-Wall -Werror'
diff --git a/.builds/debian.yml b/.builds/debian.yml
index 83a3c87e..587e789f 100644
--- a/.builds/debian.yml
+++ b/.builds/debian.yml
@@ -1,4 +1,7 @@
 image: debian/stable
+submitter:
+  git.sr.ht:
+    enabled: false
 packages:
 - autoconf
 - automake
-- 
2.51.0

Reply via email to