diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..952641b --- /dev/null +++ b/.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: {} \ No newline at end of file