mirror of
https://github.com/containers/podman.git
synced 2025-07-03 09:17:15 +08:00
CI: remove build without cgo task
Podman is basically unusable without cgo, checking if it compiles without adds no value and just tricks people into thinking it works when it does not. This means we do not need extra to NOP out a lot of cgo calls with functions that just return an error like `XXX is not supported without cgo`. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -379,8 +379,6 @@ alt_build_task:
|
||||
ALT_NAME: 'Build Each Commit'
|
||||
- env:
|
||||
ALT_NAME: 'Windows Cross'
|
||||
- env:
|
||||
ALT_NAME: 'Build Without CGO'
|
||||
- env:
|
||||
ALT_NAME: 'Alt Arch. Cross'
|
||||
# This task cannot make use of the shared repo.tbz artifact.
|
||||
|
7
Makefile
7
Makefile
@ -451,13 +451,6 @@ local-cross: $(CROSS_BUILD_TARGETS) ## Cross compile podman binary for multiple
|
||||
.PHONY: cross
|
||||
cross: local-cross
|
||||
|
||||
.PHONY: build-no-cgo
|
||||
build-no-cgo:
|
||||
BUILDTAGS="containers_image_openpgp exclude_graphdriver_btrfs \
|
||||
exclude_graphdriver_devicemapper exclude_disk_quota" \
|
||||
CGO_ENABLED=0 \
|
||||
$(MAKE) all
|
||||
|
||||
.PHONY: completions
|
||||
completions: podman podman-remote
|
||||
# key = shell, value = completion filename
|
||||
|
@ -276,9 +276,6 @@ function _run_altbuild() {
|
||||
make podman-remote-release-windows_amd64.zip
|
||||
make podman.msi
|
||||
;;
|
||||
*Without*)
|
||||
make build-no-cgo
|
||||
;;
|
||||
*RPM*)
|
||||
make package
|
||||
;;
|
||||
|
Reference in New Issue
Block a user