Build pipeline
the build failed
Details
the build failed
Details
This commit is contained in:
parent
e09b5d6275
commit
242e654d72
20
.drone.yml
20
.drone.yml
|
@ -2,10 +2,28 @@ workspace:
|
||||||
base: /go
|
base: /go
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
dependencies:
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- mkdir /go/bin
|
- mkdir /go/bin
|
||||||
- curl https://glide.sh/get | sh
|
- curl https://glide.sh/get | sh
|
||||||
- cd src/meow.tf/deb-simple
|
- cd src/meow.tf/deb-simple
|
||||||
- glide install
|
- glide install
|
||||||
|
build-i386:
|
||||||
|
image: golang:latest
|
||||||
|
group: build
|
||||||
|
commands:
|
||||||
|
- mkdir -p build/i386
|
||||||
|
- GOOS=linux GOARCH=386 go build -o build/i386/deb-simple
|
||||||
|
build-amd64:
|
||||||
|
image: golang:latest
|
||||||
|
group: build
|
||||||
|
commands:
|
||||||
|
- mkdir -p build/amd64
|
||||||
|
- go build -o build/amd64/deb-simple
|
||||||
|
build-armv7:
|
||||||
|
image: golang:latest
|
||||||
|
group: build
|
||||||
|
commands:
|
||||||
|
- mkdir -p build/armv7
|
||||||
|
- GOOS=linux GOARCH=arm GOARM=7 go build -o build/armv7/deb-simple
|
Loading…
Reference in New Issue