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:
parent
bf4abd309e
commit
a46262ee57
|
@ -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 ./...
|
|
@ -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 ./...
|
|
@ -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 ./...
|
Loading…
Reference in New Issue