Browse Source

Useless build scripts just because

master
Tyler 9 months ago
parent
commit
9b0c047f93
  1. 22
      .drone.yml

22
.drone.yml

@ -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…
Cancel
Save