Build, test, run, install and clean targets, with the version injected at link time. CI runs make check, build and test.
26 lines
392 B
YAML
26 lines
392 B
YAML
---
|
|
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: {} |