From 580d33a7e354c0de77e6729ab0c8d0832b5c6d87 Mon Sep 17 00:00:00 2001 From: Wang Xiang Date: Tue, 18 Jul 2023 13:38:17 +0800 Subject: [PATCH] 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] 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] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 ++ release/friendly-filenames.json | 3 ++- release/user-package.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 172e319ce..5601770eb 100644 --- a/.github/workflows/release.yml +++ b/.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 diff --git a/release/friendly-filenames.json b/release/friendly-filenames.json index f395e8e25..63ea7a8fb 100644 --- a/release/friendly-filenames.json +++ b/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" } -} \ No newline at end of file +} diff --git a/release/user-package.sh b/release/user-package.sh index 8bfb0c4f4..9c709bef7 100755 --- a/release/user-package.sh +++ b/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)