From 45cfd04214ed4f25902a5744efb6971a2ecf19a5 Mon Sep 17 00:00:00 2001 From: mleku Date: Mon, 27 Oct 2025 19:48:55 +0000 Subject: [PATCH] Refactor Go Build Process to Focus on Orly Binary - Updated the Go workflow to only build the orly binary as requested, simplifying the build process. - Removed the building of additional command-line utilities, which are designated as development tools. - Added comments for clarity regarding the changes made to the build process. --- .github/workflows/go.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 572b5c0..8cd127b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -81,15 +81,8 @@ jobs: GOEXPERIMENT=greenteagc,jsonv2 GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -o release-binaries/orly-${VERSION}-darwin-arm64 . GOEXPERIMENT=greenteagc,jsonv2 GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o release-binaries/orly-${VERSION}-windows-amd64.exe . - # Build cmd executables - for cmd in lerproxy nauth nurl vainstr walletcli; do - echo "Building $cmd" - GOEXPERIMENT=greenteagc,jsonv2 GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o release-binaries/${cmd}-${VERSION}-linux-amd64 ./cmd/${cmd} - GOEXPERIMENT=greenteagc,jsonv2 GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o release-binaries/${cmd}-${VERSION}-linux-arm64 ./cmd/${cmd} - GOEXPERIMENT=greenteagc,jsonv2 GOOS=darwin GOARCH=amd64 CGO_ENABLED=0 go build -o release-binaries/${cmd}-${VERSION}-darwin-amd64 ./cmd/${cmd} - GOEXPERIMENT=greenteagc,jsonv2 GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -o release-binaries/${cmd}-${VERSION}-darwin-arm64 ./cmd/${cmd} - GOEXPERIMENT=greenteagc,jsonv2 GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o release-binaries/${cmd}-${VERSION}-windows-amd64.exe ./cmd/${cmd} - done + # Note: Only building orly binary as requested + # Other cmd utilities (aggregator, benchmark, convert, policytest, stresstest) are development tools # Create checksums cd release-binaries