aerc/.builds/alpine-edge.yml
Moritz Poldrack 506f8f165c ci: fix go-1.13 installation
For some reason the official way of getting older Go versions does not
work, this patch makes the CI downgrade the package on a package manager
level

Signed-off-by: Moritz Poldrack <git@moritz.sh>
Tested-by: builds.sr.ht <builds@sr.ht>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-06-28 12:02:08 +02:00

32 lines
580 B
YAML

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