summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-06-29 22:30:57 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-07-02 16:41:11 +0200
commit473d0604546ef472f167ee671fdf1110bf74eb63 (patch)
tree0d830090c8173b85305dbeafb284e6cd77155af0 /Makefile
parent827ac0859f9649a971c6d4092fcd26158afa5478 (diff)
downloadpodman-473d0604546ef472f167ee671fdf1110bf74eb63.tar.gz
podman-473d0604546ef472f167ee671fdf1110bf74eb63.tar.bz2
podman-473d0604546ef472f167ee671fdf1110bf74eb63.zip
cirrus: add test for compiling without cgo
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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 && \