build: add multiple distributions

Add build and test on debian, fedora and archlinux. Only check code
formatting on alpine.

Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Robin Jarry 2022-01-20 18:44:13 +01:00
parent bf4abd309e
commit a46262ee57
4 changed files with 39 additions and 0 deletions

13
.builds/archlinux.yml Normal file
View File

@ -0,0 +1,13 @@
image: archlinux
packages:
- go
- scdoc
sources:
- https://git.sr.ht/~rjarry/aerc
tasks:
- build: |
cd aerc
make
- test: |
cd aerc
go test ./...

13
.builds/debian-stable.yml Normal file
View File

@ -0,0 +1,13 @@
image: debian/stable
packages:
- golang
- scdoc
sources:
- https://git.sr.ht/~rjarry/aerc
tasks:
- build: |
cd aerc
make
- test: |
cd aerc
go test ./...

13
.builds/fedora-latest.yml Normal file
View File

@ -0,0 +1,13 @@
image: fedora/latest
packages:
- golang
- scdoc
sources:
- https://git.sr.ht/~rjarry/aerc
tasks:
- build: |
cd aerc
make
- test: |
cd aerc
go test ./...