workspace: base: /go path: src/git.aiterp.net/rpdata/api pipeline: build: environment: - CGO_ENABLED=0 image: golang:1.10 commands: - go get -u github.com/golang/dep/cmd/dep - dep ensure - go generate ./... - mkdir /output - go build -a -installsuffix cgo -ldflags="-s -w" -o /output/${CMD} ./cmd/${CMD} matrix: CMD: - rpdata-graphiql - rpdata-lb2charimport - rpdata-lb2logimport - rpdata-wikifileimport - rpdata-ensurechannels - rpdata-as2storyimport