From 445cf43def0e2e781601cce92e88fc6bea1f1313 Mon Sep 17 00:00:00 2001 From: Markson Hon Date: Mon, 11 Dec 2023 19:58:02 +0800 Subject: [PATCH] ci: add loong64 build --- .github/workflows/release_main.yml | 4 ++-- install/friendly-filenames.json | 3 +++ service/go.mod | 2 +- service/go.sum | 2 ++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_main.yml b/.github/workflows/release_main.yml index d7afeae4bd..4c658a37cb 100644 --- a/.github/workflows/release_main.yml +++ b/.github/workflows/release_main.yml @@ -53,7 +53,7 @@ jobs: strategy: matrix: goos: [ linux ] - goarch: [ amd64, arm64, 386, riscv64, mips64, mips64le, mipsle, mips ] + goarch: [ amd64, arm64, 386, riscv64, mips64, mips64le, mipsle, mips, loong64 ] include: # BEGIN Linux ARM 5 6 7 - goos: linux @@ -252,7 +252,7 @@ jobs: strategy: matrix: goos: [linux] - goarch: [amd64, arm64, 386, riscv64, mips64, mips64le, mipsle, mips] + goarch: [amd64, arm64, 386, riscv64, mips64, mips64le, mipsle, mips, loong64] include: - goos: linux goarch: arm diff --git a/install/friendly-filenames.json b/install/friendly-filenames.json index 32eea6751c..aa783d0df9 100644 --- a/install/friendly-filenames.json +++ b/install/friendly-filenames.json @@ -32,6 +32,9 @@ "linux-riscv64": { "friendlyName": "linux_riscv64" }, + "linux-loong64": { + "friendlyName": "linux_loongarch64" + }, "windows-amd64": { "friendlyName": "windows_x64" }, diff --git a/service/go.mod b/service/go.mod index 6b73deed62..4ce48c1927 100644 --- a/service/go.mod +++ b/service/go.mod @@ -34,7 +34,7 @@ require ( github.com/v2rayA/v2ray-lib v0.0.0-20230812093950-85439332d5ce github.com/v2rayA/v2rayA-lib4 v0.0.0-20230812094818-595f87cb2a49 github.com/vearutop/statigz v1.1.7 - go.etcd.io/bbolt v1.3.6 + go.etcd.io/bbolt v1.3.8 golang.org/x/net v0.17.0 golang.org/x/sys v0.13.0 google.golang.org/grpc v1.57.1 diff --git a/service/go.sum b/service/go.sum index 6a460addfa..54cc9c7e04 100644 --- a/service/go.sum +++ b/service/go.sum @@ -264,6 +264,8 @@ gitlab.com/yawning/chacha20.git v0.0.0-20230427033715-7877545b1b37 h1:ZrWBE3u/o9 gitlab.com/yawning/chacha20.git v0.0.0-20230427033715-7877545b1b37/go.mod h1:3x6b94nWCP/a2XB/joOPMiGYUBvqbLfeY/BkHLeDs6s= go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= +go.etcd.io/bbolt v1.3.8 h1:xs88BrvEv273UsB79e0hcVrlUWmS0a8upikMFhSyAtA= +go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw= go.starlark.net v0.0.0-20230612165344-9532f5667272 h1:2/wtqS591wZyD2OsClsVBKRPEvBsQt/Js+fsCiYhwu8= go.starlark.net v0.0.0-20230612165344-9532f5667272/go.mod h1:jxU+3+j+71eXOW14274+SmmuW82qJzl6iZSeqEtTGds= go4.org/netipx v0.0.0-20230728184502-ec4c8b891b28 h1:zLxFnORHDFTSkJPawMU7LzsuGQJ4MUFS653jJHpORow=