summaryrefslogtreecommitdiff
path: root/.builds
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-01-20 18:44:13 +0100
committerRobin Jarry <robin@jarry.cc>2022-01-20 20:51:42 +0100
commita46262ee57b3c818729fb28cfa930612fd9e8834 (patch)
tree0a36ff55a42ef40f286587f818d65785e1db18b2 /.builds
parentbf4abd309e4c5c4eb3a43017ed20e4a3cf85fee1 (diff)
downloadaerc-a46262ee57b3c818729fb28cfa930612fd9e8834.zip
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.yml16
-rw-r--r--.builds/archlinux.yml13
-rw-r--r--.builds/debian-stable.yml13
-rw-r--r--.builds/fedora-latest.yml13
4 files changed, 55 insertions, 0 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
new file mode 100644
index 0000000..fa9a49f
--- /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 0000000..f5c74ac
--- /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 0000000..5a406c8
--- /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 0000000..997daff
--- /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 ./...