summary refs log tree commit diff stats
path: root/build/ci/drone.yml
blob: 1bd3a07f1cf1d796e0fdaa8f135239903c176b15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
kind: pipeline
name: testing

steps:
- name: vet
  image: golang:1.13
  commands:
    - go vet ./...

- name: test
  image: golang:1.13
  commands:
    - go test -v ./...

---
kind: pipeline
name: build

steps:
- name: openbsd-amd64
  image: golang:1.13
  environment:
    GOARCH: amd64
    GOOS: openbsd
  commands:
    - go build ./cmd/grus

- name: linux-amd64
  image: golang:1.13
  environment:
    GOARCH: amd64
    GOOS: linux
  commands:
    - go build ./cmd/grus

- name: darwin-amd64
  image: golang:1.13
  environment:
    GOARCH: amd64
    GOOS: darwin
  commands:
    - go build ./cmd/grus