chore: add Makefile and Drone pipeline
Build, test, run, install and clean targets, with the version injected at link time. CI runs make check, build and test.
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: coopcloud.tech/cctuip
|
||||
steps:
|
||||
- name: make check
|
||||
image: golang:1.20
|
||||
commands:
|
||||
- make check
|
||||
|
||||
- name: make build
|
||||
image: golang:1.20
|
||||
commands:
|
||||
- make build
|
||||
depends_on:
|
||||
- make check
|
||||
|
||||
- name: make test
|
||||
image: golang:1.20
|
||||
commands:
|
||||
- make test
|
||||
depends_on:
|
||||
- make check
|
||||
|
||||
volumes:
|
||||
- name: deps
|
||||
temp: {}
|
||||
Reference in New Issue
Block a user