aboutsummaryrefslogtreecommitdiffstats
path: root/.builds/alpine-edge.yml
blob: c8892ccb70bc3abca2ad76c8c40e6957d369252a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
image: alpine/edge
packages:
  - go
  - gnupg
  - notmuch-dev
  - scdoc
  - valgrind
sources:
  - "https://git.sr.ht/~rjarry/aerc"
environment:
  DESTDIR: ./out
  GOFLAGS: "-tags=notmuch"
  CC: gcc
  CFLAGS: -O0 -g -std=c99 -Wall -Wextra -Wconversion -Werror -Wformat-security -Wstack-protector -Wpedantic -Wmissing-prototypes
  FILTERS_TEST_PREFIX: valgrind --leak-check=full --error-exitcode=1
tasks:
  - build: |
      gmake -C aerc
  - install: |
      gmake -C aerc install checkinstall
  - test: |
      gmake -C aerc tests
  - lint: |
      gmake -C aerc lint
  - ancient-go-version: |
      curl -O https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/go-1.18.7-r0.apk
      sudo apk add ./go-1.18.7-r0.apk
      gmake -C aerc clean all
  - check-patches: |
      gmake -C aerc check-patches