2017-06-12 03:08:13 +00:00
|
|
|
image: git.meow.tf:4567/tyler/golang-glide:1.8
|
2017-06-12 01:04:45 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
script:
|
2017-06-12 03:09:30 +00:00
|
|
|
- export GOPATH=`pwd`
|
2017-06-12 01:04:45 +00:00
|
|
|
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
|
|
|
|
- glide install
|
|
|
|
- cd $CI_PROJECT_DIR
|
2017-09-11 02:58:50 +00:00
|
|
|
- mkdir -p build/i386 build/amd64 build/arm
|
|
|
|
- go build -o build/amd64/deb-simple
|
|
|
|
- GOOS=linux GOARCH=386 go build -o build/i386/deb-simple
|
|
|
|
- GOOS=linux GOARCH=arm GOARM=7 go build -o build/arm/deb-simple
|
2017-06-12 03:06:31 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2017-09-11 02:58:50 +00:00
|
|
|
- build
|