Fix promu config (#1119)

Rename promu no-cgo config to default promu name to avoid crossbuild
problems.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2018-10-20 08:21:51 +02:00 committed by GitHub
parent 0da9d248e7
commit 7519967619
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ jobs:
steps:
- checkout
- run: make promu
- run: promu --config .promu-no-cgo.yml crossbuild -v --go 1.11
- run: promu crossbuild -v --go 1.11
- run: promu --config .promu-cgo.yml crossbuild -v --go 1.11
- persist_to_workspace:
root: .

View file

@ -46,11 +46,11 @@ endif
# Use CGO for non-Linux builds.
ifeq ($(GOOS), linux)
PROMU_CONF ?= .promu-no-cgo.yml
PROMU_CONF ?= .promu.yml
else
ifndef GOOS
ifeq ($(OS_detected), Linux)
PROMU_CONF ?= .promu-no-cgo.yml
PROMU_CONF ?= .promu.yml
else
PROMU_CONF ?= .promu-cgo.yml
endif