diff options
author | Robin Jarry <robin@jarry.cc> | 2022-01-20 18:44:13 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-20 20:51:42 +0100 |
commit | a46262ee57b3c818729fb28cfa930612fd9e8834 (patch) | |
tree | 0a36ff55a42ef40f286587f818d65785e1db18b2 /.builds | |
parent | bf4abd309e4c5c4eb3a43017ed20e4a3cf85fee1 (diff) | |
download | aerc-a46262ee57b3c818729fb28cfa930612fd9e8834.tar.gz |
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>
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/alpine-edge.yml | 16 | ||||
-rw-r--r-- | .builds/archlinux.yml | 13 | ||||
-rw-r--r-- | .builds/debian-stable.yml | 13 | ||||
-rw-r--r-- | .builds/fedora-latest.yml | 13 |
4 files changed, 55 insertions, 0 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml new file mode 100644 index 00000000..fa9a49f6 --- /dev/null +++ b/.builds/alpine-edge.yml @@ -0,0 +1,16 @@ +image: alpine/edge +packages: +- go +- scdoc +sources: +- https://git.sr.ht/~rjarry/aerc +tasks: +- checkfmt: | + cd aerc + make checkfmt +- build: | + cd aerc + make +- test: | + cd aerc + go test ./... diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml new file mode 100644 index 00000000..f5c74acc --- /dev/null +++ b/.builds/archlinux.yml @@ -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 ./... diff --git a/.builds/debian-stable.yml b/.builds/debian-stable.yml new file mode 100644 index 00000000..5a406c81 --- /dev/null +++ b/.builds/debian-stable.yml @@ -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 ./... diff --git a/.builds/fedora-latest.yml b/.builds/fedora-latest.yml new file mode 100644 index 00000000..997daff1 --- /dev/null +++ b/.builds/fedora-latest.yml @@ -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 ./... |