cross compiling
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jake Hillion 2021-01-20 13:43:38 +00:00
parent 6a0b378097
commit ae84b68922

View File

@ -30,7 +30,8 @@ steps:
- name: cache
path: /go
commands:
- go build
- GOOS=linux GOARCH=amd64 go build -o linux_amd64
- GOOS=linux GOARCH=arm64 GOARM=8 go build -o linux_arm64_v8
- name: upload
image: minio/mc
@ -43,7 +44,8 @@ steps:
from_secret: s3_secret_key
commands:
- mc alias set s3 http://10.20.0.25:3900 $${ACCESS_KEY} $${SECRET_KEY}
- mc cp mpbl3p s3/dissertation/binaries/debian/${DRONE_BRANCH}
- mc cp linux_amd64 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_amd64
- mc cp linux_arm64_v8 s3/dissertation/binaries/debian/${DRONE_BRANCH}_linux_arm64_v8
volumes:
- name: cache