Browse Source

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>
Wang Xiang 2 years ago
parent
commit
580d33a7e3
3 changed files with 5 additions and 2 deletions
  1. 2 0
      .github/workflows/release.yml
  2. 2 1
      release/friendly-filenames.json
  3. 1 1
      release/user-package.sh

+ 2 - 0
.github/workflows/release.yml

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

+ 2 - 1
release/friendly-filenames.json

@@ -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" }
-}
+}

+ 1 - 1
release/user-package.sh

@@ -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)