Build ARM version of binary
This commit is contained in:
parent
9be4d884fc
commit
c474bc0e50
|
@ -1,4 +1,4 @@
|
|||
image: git.meow.tf:4567/tyler/golang-glide
|
||||
image: git.meow.tf:4567/tyler/golang-glide:latest
|
||||
|
||||
build:
|
||||
script:
|
||||
|
@ -9,3 +9,14 @@ build:
|
|||
artifacts:
|
||||
paths:
|
||||
- simple
|
||||
|
||||
build-arm:
|
||||
image: git.meow.tf:4567/tyler/golang-glide:arm
|
||||
script:
|
||||
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
|
||||
- glide install
|
||||
- cd $CI_PROJECT_DIR
|
||||
- GOOS=linux GOARCH=arm GOARM=7 go build -o simple-arm
|
||||
artifacts:
|
||||
paths:
|
||||
- simple-arm
|
Loading…
Reference in New Issue