This commit drops Arch Linux in favor of a BSD so there's more variety
in CI.
See: https://lists.sr.ht/~rjarry/aerc-devel/%3C20220122033806.91728-1-ktprograms%40gmail.com%3E
I wanted to do this but I was limited to 4 builds. I guess dropping Arch
is OK. Too bad we cannot test on macOS. I'll think about adding CI on
the github mirror.
Can you put this into a separate "install" step?
I wonder if you could also verify if the installation looks OK. To avoid
code duplication, this could be a `make checkinstall` target. Ideally
introduced in a third patch ;)
- test: |
cd aerc
go test ./...
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml
deleted file mode 100644
index f5c74ac..0000000
--- a/.builds/archlinux.yml
@@ -1,13 +0,0 @@
-image: archlinux-packages:-- go-- scdoc-sources:-- https://git.sr.ht/~rjarry/aerc-tasks:-- build: |- cd aerc- make-- test: |- cd aerc- go test ./...
diff --git a/.builds/debian-stable.yml b/.builds/debian-stable.yml
index 5a406c8..11cf5c6 100644
--- a/.builds/debian-stable.yml+++ b/.builds/debian-stable.yml
@@ -8,6 +8,8 @@ tasks:
- build: |
cd aerc
make
+ mkdir out+ make DESTDIR=./out install- test: |
cd aerc
go test ./...
diff --git a/.builds/fedora-latest.yml b/.builds/fedora-latest.yml
index 997daff..e80d070 100644
--- a/.builds/fedora-latest.yml+++ b/.builds/fedora-latest.yml
@@ -8,6 +8,8 @@ tasks:
- build: |
cd aerc
make
+ mkdir out+ make DESTDIR=./out install- test: |
cd aerc
go test ./...
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
new file mode 100644
index 0000000..46cc5f7
--- /dev/null+++ b/.builds/openbsd.yml
@@ -0,0 +1,16 @@
+---+image: openbsd/latest+packages:+ - go+ - scdoc+sources:+ - https://git.sr.ht/~rjarry/aerc+tasks:+ - build: |+ cd aerc+ make+ mkdir out+ make DESTDIR=./out install+ - test: |+ cd aerc+ go test ./...
--
2.34.1