~humaid/ns2-trace-go

04c39d3c2fcc4fe5669de5710f225288831d0713 — Humaid AlQassimi 1 year, 8 months ago de0c0fa
CI: Add build file
1 files changed, 21 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +21 -0
@@ 0,0 1,21 @@
image: archlinux
packages:
  - go
sources:
  - https://git.sr.ht/~humaid/ns2-trace-go
tasks:
  - setup: |
      cd ns2-trace-go
      go get ./...
  - format: |
      cd ns2-trace-go
      go fmt $(go list ./... | grep -v /vendor/)
      go vet $(go list ./... | grep -v /vendor/)
  - test: |
      cd ns2-trace-go
      go test -cover -race $(go list ./... | grep -v /vendor/)
  - build: |
      cd ns2-trace-go
      go build