From fc1160ecb3e4eefc6a3d8a473579be7a78c9c0fb Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Sun, 26 Jul 2026 10:36:08 +0800 Subject: [PATCH] =?UTF-8?q?ci(client):=20sing-box=20=E6=BA=90=E7=A0=81?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E8=B5=B0=E5=85=AC=E7=BD=91=E9=95=9C=E5=83=8F?= =?UTF-8?q?=20git.51yanmei.com(android/ios/macos)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit android/ios/macos 三端都内嵌 libbox,编译期都要 git clone sing-box 源码。 此前只有 build-android 注入了 SINGBOX_GIT(且指向本地 relay 127.0.0.1:13000, 依赖 tailscale/LAN,Mac runner 出外网即失效),ios/macos 完全没注入 → 直接 clone github.com → 被 GFW/DNS 污染打挂(SSL_ERROR_SYSCALL,exit 128)。 统一改用稳定公网域名 git.51yanmei.com(ali frps ← 家里 NAS frpc,nginx 443 反代 gitea)——外网/内网都通,不依赖本地 relay/tailscale。已用真实 clone 命令 从外网验证 v1.13.13 可拉。ios/macos 同时补 GOPROXY(gomobile go install)。 build-windows 保持 LAN 镜像不动(Windows 台式机固定在家,不移动)。 Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01A79VtQA1BwTuQN1ThpvYpo --- .gitea/workflows/deploy-client.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy-client.yml b/.gitea/workflows/deploy-client.yml index d9319f8..fc76eca 100644 --- a/.gitea/workflows/deploy-client.yml +++ b/.gitea/workflows/deploy-client.yml @@ -39,9 +39,10 @@ jobs: GOPROXY: https://goproxy.cn,direct PUB_HOSTED_URL: https://pub.flutter-io.cn FLUTTER_STORAGE_BASE_URL: https://storage.flutter-io.cn - # sing-box 源码经 NAS gitea 镜像取(mac runner 连不上 github;经 runner 的 - # gitea relay 127.0.0.1:13000 → wangjia/sing-box)。见 scripts/build-libbox.sh。 - SINGBOX_GIT: http://127.0.0.1:13000/wangjia/sing-box.git + # sing-box 源码经 NAS gitea 公网镜像取(mac runner 连不上 github)。 + # 用稳定公网域名 git.51yanmei.com(ali frps ← 家里 NAS frpc,nginx 443 反代 + # gitea)—— 外网/内网都通,不依赖本地 relay/tailscale。见 scripts/build-libbox.sh。 + SINGBOX_GIT: https://git.51yanmei.com/wangjia/sing-box.git steps: - name: Checkout uses: actions/checkout@v4 @@ -112,8 +113,11 @@ jobs: runs-on: mac continue-on-error: true env: + GOPROXY: https://goproxy.cn,direct PUB_HOSTED_URL: https://pub.flutter-io.cn FLUTTER_STORAGE_BASE_URL: https://storage.flutter-io.cn + # macOS 同样内嵌 libbox → 同走 NAS gitea 公网镜像取 sing-box 源码(见 build-android)。 + SINGBOX_GIT: https://git.51yanmei.com/wangjia/sing-box.git steps: - name: Checkout uses: actions/checkout@v4 @@ -143,8 +147,11 @@ jobs: runs-on: mac continue-on-error: true env: + GOPROXY: https://goproxy.cn,direct PUB_HOSTED_URL: https://pub.flutter-io.cn FLUTTER_STORAGE_BASE_URL: https://storage.flutter-io.cn + # iOS 同样内嵌 libbox → 同走 NAS gitea 公网镜像取 sing-box 源码(见 build-android)。 + SINGBOX_GIT: https://git.51yanmei.com/wangjia/sing-box.git steps: - name: Checkout uses: actions/checkout@v4