Merge pull request #739 from AkihiroSuda/riscv64

build: support riscv64
This commit is contained in:
Casey Callendrello 2022-05-04 17:44:44 +02:00 committed by GitHub
commit f7dfa0f600
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ on: ["push", "pull_request"]
env:
GO_VERSION: "1.18"
LINUX_ARCHES: "amd64 386 arm arm64 s390x mips64le ppc64le"
LINUX_ARCHES: "amd64 386 arm arm64 s390x mips64le ppc64le riscv64"
jobs:
build:

View File

@ -21,7 +21,7 @@ $DOCKER run -ti -v ${SRC_DIR}:/go/src/github.com/containernetworking/plugins:z -
apk --no-cache add bash tar;
cd /go/src/github.com/containernetworking/plugins; umask 0022;
for arch in amd64 arm arm64 ppc64le s390x mips64le; do \
for arch in amd64 arm arm64 ppc64le s390x mips64le riscv64; do \
rm -f ${OUTPUT_DIR}/*; \
CGO_ENABLED=0 GOARCH=\$arch ./build_linux.sh ${BUILDFLAGS}; \
for format in tgz; do \