Useless build scripts just because
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
be7920d0d0
commit
9b0c047f93
|
@ -0,0 +1,22 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:latest
|
||||
group: build
|
||||
volumes:
|
||||
- name: build
|
||||
path: /build
|
||||
commands:
|
||||
- mkdir -p /build/i386 /build/amd64 /build/armv7 /build/arm64
|
||||
- GOOS=linux GOARCH=386 go build -o /build/i386/ottomate_i386
|
||||
- go build -o /build/amd64/ottomate_amd64
|
||||
- GOOS=linux GOARCH=arm GOARM=7 go build -o /build/armv7/ottomate_armv7
|
||||
- GOOS=linux GOARCH=arm64 go build -o /build/arm64/ottomate_arm64
|
||||
- GOOS=windows GOARCH=386 go build -o /build/i386/ottomate_i386.exe
|
||||
- GOOS=windows GOARCH=amd64 go build -o /build/amd64/ottomate_amd64.exe
|
||||
|
||||
volumes:
|
||||
- name: build
|
||||
temp: {}
|
Loading…
Reference in New Issue