16 lines
424 B
YAML
16 lines
424 B
YAML
image: git.meow.tf:4567/tyler/golang-glide:1.8
|
|
|
|
build:
|
|
script:
|
|
- export GOPATH=`pwd`
|
|
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
|
|
- glide install
|
|
- cd $CI_PROJECT_DIR
|
|
- 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
|
|
artifacts:
|
|
paths:
|
|
- build
|