From 3347d985ec306bb9a7a9ac69e6effad46e91f93e Mon Sep 17 00:00:00 2001 From: Ivan Valdes Date: Mon, 23 Sep 2024 14:48:48 -0700 Subject: [PATCH] github: remove build job This job was migrated to the prow infrastructure in May (https://github.com/kubernetes/test-infra/pull/32672). Deleting the GitHub workflow to remove duplicate jobs should be fine. Signed-off-by: Ivan Valdes --- .github/workflows/build.yaml | 67 ------------------------------------ 1 file changed, 67 deletions(-) delete mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index 1f8381408ab..00000000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,67 +0,0 @@ ---- -name: Build -on: [push, pull_request] -permissions: read-all - -jobs: - build: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - target: - - linux-amd64 - - linux-386 - - darwin-amd64 - - darwin-arm64 - - windows-amd64 - - linux-arm - - linux-arm64 - - linux-ppc64le - - linux-s390x - steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - id: goversion - run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT" - - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: ${{ steps.goversion.outputs.goversion }} - - env: - TARGET: ${{ matrix.target }} - run: | - set -euo pipefail - - echo "${TARGET}" - case "${TARGET}" in - linux-amd64) - GOOS=linux GOARCH=amd64 make build - ;; - linux-386) - GOOS=linux GOARCH=386 make build - ;; - darwin-amd64) - GOOS=darwin GOARCH=amd64 make build - ;; - darwin-arm64) - GOOS=darwin GOARCH=arm64 make build - ;; - windows-amd64) - GOOS=windows GOARCH=amd64 make build - ;; - linux-arm) - GOOS=linux GOARCH=arm make build - ;; - linux-arm64) - GOOS=linux GOARCH=arm64 make build - ;; - linux-ppc64le) - GOOS=linux GOARCH=ppc64le make build - ;; - linux-s390x) - GOOS=linux GOARCH=s390x make build - ;; - *) - echo "Failed to find target" - exit 1 - ;; - esac