diff options
Diffstat (limited to '.builds/alpine.yml')
-rw-r--r-- | .builds/alpine.yml | 39 |
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 |