aboutsummaryrefslogtreecommitdiff
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
parentbf4abd309e4c5c4eb3a43017ed20e4a3cf85fee1 (diff)
downloadaerc-a46262ee57b3c818729fb28cfa930612fd9e8834.tar.gz
aerc-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>
-rw-r--r--.builds/alpine-edge.yml (renamed from .build.yml)0
-rw-r--r--.builds/archlinux.yml13
-rw-r--r--.builds/debian-stable.yml13
-rw-r--r--.builds/fedora-latest.yml13
4 files changed, 39 insertions, 0 deletions
diff --git a/.build.yml b/.builds/alpine-edge.yml
index fa9a49f6..fa9a49f6 100644
--- a/.build.yml
+++ b/.builds/alpine-edge.yml
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 ./...