aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/alpine.yml
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-02-11 22:51:54 +0100
committerRobin Jarry <robin@jarry.cc>2023-02-11 22:53:27 +0100
commitfff5e2f1bbe4e1d2afecada9b69fca0fc7cec424 (patch)
tree994a59296fbd4dbc722d9297c4e59cc1ad129933 /.builds/alpine.yml
parentb638f3fa8f5c3bc48d578d3109c2235e7023e07f (diff)
downloadaerc-fff5e2f1bbe4e1d2afecada9b69fca0fc7cec424.tar.gz
ci: use alpine/latest instead of edge
The edge branch sometimes has pre-release go versions which do not play well with some of our dependencies. Make sure to stay on the latest stable version. Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to '.builds/alpine.yml')
-rw-r--r--.builds/alpine.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644
index 00000000..0af9e6e4
--- /dev/null
+++ b/.builds/alpine.yml
@@ -0,0 +1,39 @@
+---
+image: alpine/latest
+packages:
+ - go
+ - gnupg
+ - notmuch-dev
+ - scdoc
+ - valgrind
+sources:
+ - "https://git.sr.ht/~rjarry/aerc"
+environment:
+ DESTDIR: ./out
+ GOFLAGS: "-tags=notmuch"
+ CC: gcc
+ CFLAGS: -O2 -g -Wall -Wextra -Werror -Wformat-security -Wstack-protector -fstack-protector-strong -fanalyzer
+ FILTERS_TEST_PREFIX: valgrind --leak-check=full --error-exitcode=1
+tasks:
+ - lint: |
+ cd aerc
+ make lint
+ - build: |
+ cd aerc
+ make
+ - install: |
+ cd aerc
+ make install
+ make checkinstall
+ - test: |
+ cd aerc
+ go test ./...
+ - ancient-go-version: |
+ curl -O https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/go-1.16.15-r0.apk
+ sudo apk add ./go-1.16.15-r0.apk
+ cd aerc
+ make clean
+ make
+ - check-patches: |
+ cd aerc
+ make check-patches