Useless build scripts just because
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2020-12-17 19:11:55 -05:00
parent be7920d0d0
commit 9b0c047f93
1 changed files with 22 additions and 0 deletions

22
.drone.yml Normal file
View File

@ -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: {}