From a81ecc98d0dd09effc15205f9149cecfbd4e83a0 Mon Sep 17 00:00:00 2001 From: maxday Date: Tue, 31 Jan 2023 09:52:32 -0500 Subject: [PATCH] set the architecture explicitely --- tests/integration_tests/run_integration_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration_tests/run_integration_tests.sh b/tests/integration_tests/run_integration_tests.sh index 4da4f147..07ea0c95 100755 --- a/tests/integration_tests/run_integration_tests.sh +++ b/tests/integration_tests/run_integration_tests.sh @@ -40,8 +40,8 @@ if [ -n "$UPDATE_SNAPSHOTS" ]; then fi echo "Building Go binaries" -GOOS=linux go build -ldflags="-s -w" -o bin/hello hello/main.go -GOOS=linux go build -ldflags="-s -w" -o bin/error error/main.go +GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/hello hello/main.go +GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/error error/main.go # Generate a random 8-character ID to avoid collisions with other runs run_id=$(xxd -l 4 -c 4 -p < /dev/random)