aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-03-10 13:45:31 -0500
committerBrent Baude <bbaude@redhat.com>2020-03-10 13:57:53 -0500
commit2c85674773d44168eebbdacf311723457a410b3d (patch)
treeabcfea428c6387bbdde53052cf61e5eba746c4ec
parent173f430852e52a1acf69b4d9d18da20893031a79 (diff)
downloadpodman-2c85674773d44168eebbdacf311723457a410b3d.tar.gz
podman-2c85674773d44168eebbdacf311723457a410b3d.tar.bz2
podman-2c85674773d44168eebbdacf311723457a410b3d.zip
build for amd64|arm|ppc64le
to protect against architecture specific build regressions, we cross compile for multiple architectures Signed-off-by: Brent Baude <bbaude@redhat.com>
-rw-r--r--.cirrus.yml3
-rw-r--r--Makefile5
2 files changed, 5 insertions, 3 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 84a31e3ac..5ec35cccb 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -107,7 +107,7 @@ gating_task:
# The entrypoint.sh script ensures a prestine copy of $SRCPATH is
# available at $GOSRC before executing make instructions.
image: "quay.io/libpod/gate:master"
- cpu: 4
+ cpu: 8
memory: 12
timeout_in: 20m
@@ -138,6 +138,7 @@ gating_task:
# N/B: need 'clean' so some committed files are re-generated.
- '/usr/local/bin/entrypoint.sh clean podman-remote |& ${TIMESTAMP}'
- '/usr/local/bin/entrypoint.sh clean podman BUILDTAGS="exclude_graphdriver_devicemapper selinux seccomp" |& ${TIMESTAMP}'
+ - '/usr/local/bin/entrypoint.sh local-cross |& ${TIMESTAMP}'
- '/usr/local/bin/entrypoint.sh podman-remote-darwin |& ${TIMESTAMP}'
- '/usr/local/bin/entrypoint.sh podman-remote-windows |& ${TIMESTAMP}'
diff --git a/Makefile b/Makefile
index 7914cb163..6104c444c 100644
--- a/Makefile
+++ b/Makefile
@@ -108,8 +108,9 @@ endif
GOMD2MAN ?= $(shell command -v go-md2man || echo '$(GOBIN)/go-md2man')
CROSS_BUILD_TARGETS := \
- bin/podman.cross.darwin.amd64 \
- bin/podman.cross.linux.amd64
+ bin/podman.cross.linux.amd64 \
+ bin/podman.cross.linux.ppc64le \
+ bin/podman.cross.linux.arm
.PHONY: all
all: binaries docs