mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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 <ivan@vald.es>
This commit is contained in:
parent
bd93a0060a
commit
3347d985ec
67
.github/workflows/build.yaml
vendored
67
.github/workflows/build.yaml
vendored
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user