From 3759577d1832aa42f34f60a30bd3baf1b9a7b658 Mon Sep 17 00:00:00 2001 From: Navid Shaikh Date: Thu, 22 Aug 2019 12:33:48 +0530 Subject: [PATCH] Ensures kn cross platform build works in presubmit tests Fixes #364 --- test/presubmit-tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index 19b63ec021..6d6c950cff 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -38,3 +38,7 @@ source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/presubmit-tests.sh # We use the default build, unit and integration test runners. main $@ + +# We build cross platform binaries to ensure kn compiles for supported platforms +header "Ensuring kn cross platform build" +./hack/build.sh -x