diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-06-22 12:25:59 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-06-24 21:08:21 +0200 |
commit | dbc5bb41a51be1433813761e5cc8221e06b89229 (patch) | |
tree | ee5acac8c3e7a5f7268b7e6f98fe2ed42fe8974d | |
parent | d5e278e5ffa772238728e4c874bf9568bb0d18e1 (diff) | |
download | aerc-dbc5bb41a51be1433813761e5cc8221e06b89229.tar.gz |
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 <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | .builds/alpine-edge.yml | 4 | ||||
-rw-r--r-- | .builds/debian-stable.yml | 23 | ||||
-rw-r--r-- | .builds/fedora-latest.yml | 23 | ||||
-rw-r--r-- | .builds/openbsd.yml | 3 |
4 files changed, 4 insertions, 49 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml index c6424a6a..ad9b8af5 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 6523519b..00000000 --- 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 cb3fdbce..00000000 --- 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 59cc654c..811fbf7a 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 ./... |