Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by mail.sr.ht (Postfix) with ESMTPS id BA13A4027A for <~kevin8t8/mutt-dev@lists.sr.ht>; Thu, 18 Jul 2019 20:16:18 +0000 (UTC) Authentication-Results: mail.sr.ht; dkim=pass (1024-bit key) header.d=cmpwn.com header.i=@cmpwn.com header.b=JKll/Qsp DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1563480978; bh=AuSrZxpRM8hgDvcAOMcM9jyRvNxyuqkHlON9WVQ3i08=; h=From:To:Cc:Subject:Date; b=JKll/QspvHLV1LEtq99wxPjslndGMKXU3u8HnW9PltrtyrgLx0SDKQ77Cz/cbzQlF Ex0IfvbawboCtd5ycv+U9zEucFnnmDK7mwJ/51aYcBOuTseqrH61uf/7I+aEY27wJ9 2WVqx8RbqrTAe3UODl8OGNBKJihCSMgQgbL4tEPQ= From: Drew DeVault To: ~kevin8t8/mutt-dev@lists.sr.ht Cc: Drew DeVault Subject: [PATCH] Add builds.sr.ht CI manifests Date: Thu, 18 Jul 2019 16:16:15 -0400 Message-Id: <20190718201615.2174-1-sir@cmpwn.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable For Alpine Linux (musl libc), Debian (glibc), and FreeBSD. --- Thanks for giving sr.ht a test drive! As a long-time mutt user I'm glad to see you trying it out and would love to answer any questions or feedback you might have. This patch will automatically build mutt on every push to the SourceHut repository. There's an API which would also support submitting builds when pushed to any other upstream, be it Github or a git repo's post-receive hook in your basement. It takes about a minute to compile for each platform, and they're done in parallel. Right now nothing happens when it completes, but you can tweak it to send you an email, or put up a little build status image on a website somewhere, etc. In the near future it will be possible to run these automatically to validate patches which arrive on the mailing list. Example build logs: Alpine Linux edge: https://builds.sr.ht/~sircmpwn/job/76531 Debian stable: https://builds.sr.ht/~sircmpwn/job/76558 FreeBSD stable: https://builds.sr.ht/~sircmpwn/job/76560 .builds/alpine.yml | 34 ++++++++++++++++++++++++++++++++++ .builds/debian.yml | 32 ++++++++++++++++++++++++++++++++ .builds/freebsd.yml | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+) create mode 100644 .builds/alpine.yml create mode 100644 .builds/debian.yml create mode 100644 .builds/freebsd.yml diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 00000000..3b51a3bb --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,34 @@ +image: alpine/edge +packages: +- autoconf +- automake +- cyrus-sasl-dev +- gdbm-dev +- gettext-dev +- gpgme-dev +- libidn2-dev +- ncurses-dev +- openssl-dev +- perl +sources: +- https://git.sr.ht/~kevin8t8/mutt +tasks: +- configure: | + cd mutt + autoreconf -if + ./configure \ + --enable-gpgme \ + --enable-pop \ + --enable-imap \ + --enable-smtp \ + --enable-hcache \ + --enable-sidebar \ + --without-included-gettext \ + --with-mailpath=3D/var/spool/mail \ + --with-curses \ + --with-ssl \ + --with-sasl \ + --with-idn2 +- build: | + cd mutt + make diff --git a/.builds/debian.yml b/.builds/debian.yml new file mode 100644 index 00000000..c5caf8f9 --- /dev/null +++ b/.builds/debian.yml @@ -0,0 +1,32 @@ +image: debian/stable +packages: +- autoconf +- automake +- gettext +- libgdbm-dev +- libgpgme-dev +- libidn2-dev +- libncurses-dev +- libsasl2-dev +- libssl-dev +sources: +- https://git.sr.ht/~kevin8t8/mutt +tasks: +- configure: | + cd mutt + autoreconf -if + ./configure \ + --enable-gpgme \ + --enable-pop \ + --enable-imap \ + --enable-smtp \ + --enable-hcache \ + --enable-sidebar \ + --without-included-gettext \ + --with-mailpath=3D/var/spool/mail \ + --with-curses \ + --with-ssl \ + --with-sasl +- build: | + cd mutt + make diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml new file mode 100644 index 00000000..06849542 --- /dev/null +++ b/.builds/freebsd.yml @@ -0,0 +1,37 @@ +image: freebsd/latest +packages: +- automake +- autoconf +- mime-support +- urlview +- indexinfo +- gpgme +- libgpg-error +- libassuan +- libidn2 +- libunistring +- db5 +- libiconv +- gettext-runtime +sources: +- https://git.sr.ht/~kevin8t8/mutt +tasks: +- configure: | + cd mutt + autoreconf -if + ./configure \ + --enable-gpgme \ + --enable-pop \ + --enable-imap \ + --enable-smtp \ + --enable-hcache \ + --enable-sidebar \ + --with-mailpath=3D/var/spool/mail \ + --with-curses \ + --with-ssl \ + --without-sasl \ + --with-libiconv-prefix=3D/usr/local \ + --with-libintl-prefix=3D/usr/local +- build: | + cd mutt + make --=20 2.22.0