~kevin8t8/mutt-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Add builds.sr.ht CI manifests

Details
Message ID
<20190718201615.2174-1-sir@cmpwn.com>
DKIM signature
missing
Download raw message
Patch: +103 -0
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=/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=/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=/var/spool/mail \
        --with-curses \
        --with-ssl \
        --without-sasl \
        --with-libiconv-prefix=/usr/local \
        --with-libintl-prefix=/usr/local
- build: |
    cd mutt
    make
-- 
2.22.0
Details
Message ID
<20190718205901.GA1771@afu.lan>
In-Reply-To
<20190718201615.2174-1-sir@cmpwn.com> (view parent)
DKIM signature
missing
Download raw message
On Thu, Jul 18, 2019 at 04:16:15PM -0400, Drew DeVault wrote:
>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.

Wow, thank you Drew!  In fact looking at the build logs helped me see 
and fix an embarrassing mistake.  :-)

I've been meaning to spend more time on sr.ht playing with the cool 
stuff you're building, but time's always the biggest problem for me. 
This is a good incentive to take a closer look.

>This patch will automatically build mutt on every push to the SourceHut
>repository.

Applied.  Thanks again.

-Kevin
Review patch Export thread (mbox)