aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 21:27:41 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-07-19 21:42:50 +0200
commitb6629e85bc4d77f43d2ddfe70505a25714018e65 (patch)
tree95b387a00928a3359c4329110b78f57977e74a58
parentff6b55491dec7ad1973dda37a35e2d9f47f75bcb (diff)
downloadlens-b6629e85bc4d77f43d2ddfe70505a25714018e65.tar.gz
lens-b6629e85bc4d77f43d2ddfe70505a25714018e65.tar.bz2
lens-b6629e85bc4d77f43d2ddfe70505a25714018e65.zip
feat: Add build process
To make sure that the project does not only compile on my machine.
-rw-r--r--.builds/alpine.yml22
-rw-r--r--Makefile2
2 files changed, 24 insertions, 0 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644
index 0000000..62f3983
--- /dev/null
+++ b/.builds/alpine.yml
@@ -0,0 +1,22 @@
+image: alpine/edge
+packages:
+ - go
+ - vips-dev
+ - sassc
+ - golangci-lint
+sources:
+ - https://git.sr.ht/~gabrielgio/img
+tasks:
+ - setup: |
+ go install github.com/valyala/quicktemplate/qtc@latest
+ # - lint: |
+ # cd img
+ # make lint
+ - build: |
+ cd img
+ make
+triggers:
+ - action: email
+ condition: failure
+ to: mail@gabrielgio.me
+
diff --git a/Makefile b/Makefile
index bd7d016..bf14831 100644
--- a/Makefile
+++ b/Makefile
@@ -74,3 +74,5 @@ gci:
alignment:
betteralign -apply ./...
+
+bootstrap: