CI: Add Linux loong64 build task (#2609)

* CI: add Linux loongarch64 build tasks

* Fix: rename goarch from loongarch64 to loong64

* chore: go mod tidy

* Chore: bump github.com/refraction-networking/utls from 1.3.2 to 1.3.3 (#2611)

Bumps [github.com/refraction-networking/utls](https://github.com/refraction-networking/utls) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/refraction-networking/utls/releases)
- [Commits](https://github.com/refraction-networking/utls/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/refraction-networking/utls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* CI: add Linux loongarch64 build tasks

* Fix: rename goarch from loongarch64 to loong64

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Wang Xiang 2023-07-18 13:38:17 +08:00 committed by GitHub
parent d99195b866
commit 580d33a7e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -74,6 +74,8 @@ jobs:
goarch: arm64
- goos: linux
goarch: riscv64
- goos: linux
goarch: loong64
- goos: windows
goarch: arm64
- goos: android

View File

@ -18,6 +18,7 @@
"linux-mipsle": { "friendlyName": "linux-mips32le" },
"linux-mips": { "friendlyName": "linux-mips32" },
"linux-riscv64": { "friendlyName": "linux-riscv64" },
"linux-loong64": { "friendlyName": "linux-loong64" },
"openbsd-386": { "friendlyName": "openbsd-32" },
"openbsd-amd64": { "friendlyName": "openbsd-64" },
"openbsd-arm6": { "friendlyName": "openbsd-arm32-v6" },
@ -28,4 +29,4 @@
"windows-arm64": { "friendlyName": "windows-arm64-v8a" },
"windows-arm7": { "friendlyName": "windows-arm32-v7a" },
"android-arm64": { "friendlyName": "android-arm64-v8a" }
}
}

View File

@ -95,7 +95,7 @@ PKGSUFFIX=
for arg in "$@"; do
case $arg in
386 | arm* | mips* | ppc64* | riscv64 | s390x)
386 | arm* | mips* | ppc64* | riscv64 | loong64 | s390x)
GOARCH=$arg
;;
windows)