提交 e213fceb 编写于 作者: M Matt Rickard

Split driver compilation from cross build

上级 8dbe63d6
......@@ -183,7 +183,7 @@ $(GOPATH)/bin/go-bindata:
GOBIN=$(GOPATH)/bin go get github.com/jteeuwen/go-bindata/...
.PHONY: cross
cross: out/localkube out/minikube-linux-amd64 out/minikube-darwin-amd64 out/minikube-windows-amd64.exe out/docker-machine-driver-hyperkit out/docker-machine-driver-kvm2
cross: out/localkube out/minikube-linux-amd64 out/minikube-darwin-amd64 out/minikube-windows-amd64.exe
.PHONY: e2e-cross
e2e-cross: e2e-linux-amd64 e2e-darwin-amd64 e2e-windows-amd64.exe
......
......@@ -44,9 +44,13 @@ export GOPATH=~/go
# We build these on Linux, but run the tests on different platforms.
# This makes it easier to provision slaves, since they don't need to have a go toolchain.'
# Cross also builds the hyperkit and kvm2 drivers.
BUILD_IN_DOCKER=y make cross e2e-cross
BUILD_IN_DOCKER=y make cross
BUILD_IN_DOCKER=y make e2e-cross
cp -r test/integration/testdata out/
BUILD_IN_DOCKER=y make out/docker-machine-driver-hyperkit
BUILD_IN_DOCKER=y make out/docker-machine-driver-kvm2
# Don't upload the buildroot artifacts if they exist
rm -r out/buildroot || true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册