summaryrefslogtreecommitdiff
path: root/.builds/alpine-edge.yml
blob: d66b9cfe685025b1891fb4f6147fb26d2f695946 (plain)
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
sources:
  - "https://git.sr.ht/~rjarry/aerc"
environment:
  DESTDIR: ./out
  GOFLAGS: "-tags=notmuch"
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.11/community/x86_64/go-1.13.13-r0.apk
      sudo apk add ./go-1.13.13-r0.apk
      cd aerc
      make clean
      make