From dbc5bb41a51be1433813761e5cc8221e06b89229 Mon Sep 17 00:00:00 2001 From: Moritz Poldrack Date: Wed, 22 Jun 2022 12:25:59 +0200 Subject: [PATCH] ci: slim down CI Pipeline Since the totality of sourcehut only has 4 CI slots at the moment, slim the CI pipeline down to the lowest common denominator: Linux (alpine-edge) - GNU make - latest Go version - Go1.13 OpenBSD - BSD make - latest available Go Version (currently lagging behind 1 version) We might also want to consider changing OpenBSD to FreeBSD as to my knowledge FreeBSD is the more common Home-Computer-Version of BSD instead of OpenBSD which is mainly used for servers. (please don't lynch me, dear 3 OpenBSD people) Signed-off-by: Moritz Poldrack Acked-by: Robin Jarry --- .builds/alpine-edge.yml | 4 ++++ .builds/debian-stable.yml | 23 ----------------------- .builds/fedora-latest.yml | 23 ----------------------- .builds/openbsd.yml | 3 --- 4 files changed, 4 insertions(+), 49 deletions(-) delete mode 100644 .builds/debian-stable.yml delete mode 100644 .builds/fedora-latest.yml diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml index c6424a6..ad9b8af 100644 --- a/.builds/alpine-edge.yml +++ b/.builds/alpine-edge.yml @@ -24,3 +24,7 @@ tasks: - test: | cd aerc go test ./... + - ancient-go-version: | + go install golang.org/dl/go1.13@latest + ~/go/bin/go1.13 download + make GO=~/go/bin/go1.13 diff --git a/.builds/debian-stable.yml b/.builds/debian-stable.yml deleted file mode 100644 index 6523519..0000000 --- a/.builds/debian-stable.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -image: debian/stable -packages: - - golang - - gnupg2 - - libnotmuch-dev - - scdoc -sources: - - "https://git.sr.ht/~rjarry/aerc" -environment: - DESTDIR: ./out - GOFLAGS: "-tags=notmuch" -tasks: - - build: | - cd aerc - make - - install: | - cd aerc - make install - make checkinstall - - test: | - cd aerc - go test ./... diff --git a/.builds/fedora-latest.yml b/.builds/fedora-latest.yml deleted file mode 100644 index cb3fdbc..0000000 --- a/.builds/fedora-latest.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -image: fedora/latest -packages: - - golang - - gnupg2 - - notmuch-devel - - scdoc -sources: - - "https://git.sr.ht/~rjarry/aerc" -environment: - DESTDIR: ./out - GOFLAGS: "-tags=notmuch" -tasks: - - build: | - cd aerc - make - - install: | - cd aerc - make install - make checkinstall - - test: | - cd aerc - go test ./... diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml index 59cc654..811fbf7 100644 --- a/.builds/openbsd.yml +++ b/.builds/openbsd.yml @@ -16,6 +16,3 @@ tasks: cd aerc make install make checkinstall - - test: | - cd aerc - go test ./...