From b6629e85bc4d77f43d2ddfe70505a25714018e65 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Wed, 19 Jul 2023 21:27:41 +0200 Subject: feat: Add build process To make sure that the project does not only compile on my machine. --- .builds/alpine.yml | 22 ++++++++++++++++++++++ Makefile | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .builds/alpine.yml 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: -- cgit v1.2.3