mirror of
https://github.com/openshift/source-to-image.git
synced 2026-02-05 12:44:54 +01:00
fix: Verify Builds Cross-Compiled Binaries
Update the `verify` Makefile target to build cross-compiled binaries. This ensures the s2i CLI can be released across all supported platforms at all times. Prevents future regressions of #1204. Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
This commit is contained in:
7
Makefile
7
Makefile
@@ -30,11 +30,16 @@ all build:
|
|||||||
build-container:
|
build-container:
|
||||||
${CONTAINER_ENGINE} build -t localhost/source-to-image/s2i:${VERSION} .
|
${CONTAINER_ENGINE} build -t localhost/source-to-image/s2i:${VERSION} .
|
||||||
|
|
||||||
|
# Build cross-compiled binaries.
|
||||||
|
build-cross:
|
||||||
|
hack/build-cross.sh
|
||||||
|
.PHONY: build-cross
|
||||||
|
|
||||||
# Verify if code is properly organized.
|
# Verify if code is properly organized.
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
# make verify
|
# make verify
|
||||||
verify: build
|
verify: build-cross
|
||||||
hack/verify-gofmt.sh
|
hack/verify-gofmt.sh
|
||||||
hack/verify-deps.sh
|
hack/verify-deps.sh
|
||||||
hack/verify-bash-completion.sh
|
hack/verify-bash-completion.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user