CI: remove redundant archs from ci.yml
@@ -132,7 +132,8 @@ jobs:
- run: go install github.com/cpuguy83/go-md2man/v2@v2.0.2
- run: make man
- # Make sure binaries compile with other platforms
+ # Make sure binaries compile with other minor platforms.
+ # Well-known architectures are covered in release.yml.
crossbuild:
name: Crossbuild Binaries
needs: [project, linters, protos, man]
@@ -142,20 +143,12 @@ jobs:
fail-fast: false
matrix:
include:
- - goos: linux
- goarch: arm64
- goos: linux
goarch: arm
goarm: "7"
- goos: linux
goarch: arm
goarm: "5"
- - goos: linux
- goarch: ppc64le
- - goos: linux
- goarch: riscv64
- - goos: linux
- goarch: s390x
- goos: freebsd
goarch: amd64
- goos: freebsd
@@ -189,26 +182,6 @@ jobs:
echo "CGO_ENABLED=1" >> $GITHUB_ENV
echo "CC=arm-linux-gnueabihf-gcc" >> $GITHUB_ENV
;;
- linux/arm64)
- packages+=" crossbuild-essential-arm64"
- echo "CGO_ENABLED=1" >> $GITHUB_ENV
- echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
- ;;
- linux/ppc64le)
- packages+=" crossbuild-essential-ppc64el"
- echo "CGO_ENABLED=1" >> $GITHUB_ENV
- echo "CC=powerpc64le-linux-gnu-gcc" >> $GITHUB_ENV
- ;;
- linux/riscv64)
- packages+=" crossbuild-essential-riscv64"
- echo "CGO_ENABLED=1" >> $GITHUB_ENV
- echo "CC=riscv64-linux-gnu-gcc" >> $GITHUB_ENV
- ;;
- linux/s390x)
- packages+=" crossbuild-essential-s390x"
- echo "CGO_ENABLED=1" >> $GITHUB_ENV
- echo "CC=s390x-linux-gnu-gcc" >> $GITHUB_ENV
- ;;
windows/arm/v7)
echo "CGO_ENABLED=0" >> $GITHUB_ENV
;;
