Browse Source

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>
pull/1123/head v0.17.0-rc.0
Ben Kochie 6 years ago committed by GitHub
parent
commit
7519967619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .circleci/config.yml
  2. 0
      .promu.yml
  3. 4
      Makefile

2
.circleci/config.yml

@ -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: .

0
.promu-no-cgo.yml → .promu.yml

4
Makefile

@ -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

Loading…
Cancel
Save