Skip to content

Commit 658e409

Browse files
committed
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 <[email protected]>
1 parent 0e4fe06 commit 658e409

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@ all build:
3030
build-container:
3131
${CONTAINER_ENGINE} build -t localhost/source-to-image/s2i:${VERSION} .
3232

33+
# Build cross-compiled binaries.
34+
build-cross:
35+
hack/build-cross.sh
36+
.PHONY: build-cross
37+
3338
# Verify if code is properly organized.
3439
#
3540
# Example:
3641
# make verify
37-
verify: build
42+
verify: build-cross
3843
hack/verify-gofmt.sh
3944
hack/verify-deps.sh
4045
hack/verify-bash-completion.sh

0 commit comments

Comments
 (0)