Fix master builds on mips* again (#815)
* Use local folder for xgo * Always do crosscompile and testing to fail early * Added mips* values for boltdb In order to get master building again I have applied these 2 additional files to boltdb. This should get dropped when https://github.com/boltdb/bolt/issues/656 gets solved.
This commit is contained in:
parent
79ab69fe30
commit
ea8c8cdaf3
5 changed files with 23 additions and 8 deletions
2
Makefile
2
Makefile
|
@ -108,7 +108,7 @@ release-build:
|
|||
@which xgo > /dev/null; if [ $$? -ne 0 ]; then \
|
||||
go get -u github.com/karalabe/xgo; \
|
||||
fi
|
||||
xgo -dest $(DIST)/binaries -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -targets '$(TARGETS)' -out $(EXECUTABLE)-$(VERSION) $(IMPORT)
|
||||
xgo -dest $(DIST)/binaries -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -targets '$(TARGETS)' -out $(EXECUTABLE)-$(VERSION) .
|
||||
ifeq ($(CI),drone)
|
||||
mv /build/* $(DIST)/binaries
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue