From 473d0604546ef472f167ee671fdf1110bf74eb63 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Sat, 29 Jun 2019 22:30:57 +0200 Subject: cirrus: add test for compiling without cgo Signed-off-by: Giuseppe Scrivano --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d1e52b1a1..6780b0967 100644 --- a/Makefile +++ b/Makefile @@ -399,6 +399,9 @@ build-all-new-commits: # Validate that all the commits build on top of $(GIT_BASE_BRANCH) git rebase $(GIT_BASE_BRANCH) -x make +build-no-cgo: + env BUILDTAGS="containers_image_openpgp containers_image_ostree_stub exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_disk_quota" CGO_ENABLED=0 $(MAKE) + vendor: export GO111MODULE=on \ $(GO) mod tidy && \ -- cgit v1.2.3-54-g00ecf