Support more cross-build platforms

This commit is contained in:
Steve Durrheimer 2016-05-15 12:56:47 +02:00
parent 5b7287094e
commit 4b03d26cb9
No known key found for this signature in database
GPG Key ID: 5435BD02508176B7
1 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,7 @@ go: 1.6.2
repository: repository:
path: github.com/prometheus/alertmanager path: github.com/prometheus/alertmanager
build: build:
flags: -a -tags netgo
ldflags: | ldflags: |
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}} -X {{repoPath}}/vendor/github.com/prometheus/common/version.Version={{.Version}}
-X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}} -X {{repoPath}}/vendor/github.com/prometheus/common/version.Revision={{.Revision}}
@ -21,5 +22,17 @@ crossbuild:
- darwin/386 - darwin/386
- windows/amd64 - windows/amd64
- windows/386 - windows/386
- freebsd/amd64
- freebsd/386
- openbsd/amd64
- openbsd/386
- netbsd/amd64
- netbsd/386
- dragonfly/amd64
- linux/arm - linux/arm
- linux/arm64 - linux/arm64
- freebsd/arm
- openbsd/arm
- netbsd/arm
- linux/ppc64
- linux/ppc64le