Compare commits

...

4 Commits

Author SHA1 Message Date
wangjia 80d88f185d Merge pull request 'fix(ci): checkout 浅克隆 + sing-box 重试(修外网 frps 隧道 Checkout 超时)' (#16) from worktree-fix-sysext-network-ent into main
Deploy Client / build-windows (push) Successful in 2m22s
Deploy Client / deploy-web (push) Successful in 4m29s
Deploy Client / build-android (push) Successful in 4m33s
Deploy Client / build-macos (push) Successful in 6m27s
Deploy Client / build-ios (push) Successful in 3m16s
Deploy Client / release-deploy (push) Successful in 2m3s
Reviewed-on: #16
2026-09-08 04:38:03 +00:00
wangjia cd1ef98b27 fix(ci): checkout 浅克隆 + sing-box clone 重试(外网走 frps 稳定性 A)
外网 runner 的 git fetch 经 ali frps 隧道偶发超时(run#289/290 的 Checkout
卡死即此)。A 层加固:
- deploy-client.yml 全部 actions/checkout 加 fetch-depth:1 —— 从拉全历史
  降到一层,数据骤减,直接打掉 Checkout 步超时根因(外网/在家都受益)。
- build-libbox.sh sing-box clone(已 --depth 1)加 3 次重试 —— 另一大 fetch
  抖了自动重来。
checkout 步显式重试(需替换 actions/checkout)暂缓,先看浅克隆后失败率;
仍高再上 checkout 重试 + frps 隧道调优(B)。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEVUXAbFT6bF1Qw27RHWoD
2026-09-08 12:33:17 +08:00
wangjia b087b5afc8 Merge pull request 'fix(ios): 最低部署目标 14.0→15.0(消除 TestFlight 警告 ITMS-90068)' (#15) from worktree-fix-sysext-network-ent into main
Deploy Client / build-android (push) Failing after 2m17s
Deploy Client / build-windows (push) Successful in 2m26s
Deploy Client / deploy-web (push) Successful in 4m34s
Deploy Client / build-macos (push) Failing after 2m11s
Deploy Client / build-ios (push) Failing after 1m21s
Deploy Client / release-deploy (push) Has been skipped
Reviewed-on: #15
2026-09-08 03:26:33 +00:00
wangjia 6a3cb48a02 fix(ios): 最低部署目标 14.0→15.0(消除 ASC 警告 90068)
TestFlight 上传报 ITMS-90068 MinimumOSVersion too low:app 最低 iOS 14.0,
Apple 要求 2027 春起 ≥15.0 才能上传/分发。改 IPHONEOS_DEPLOYMENT_TARGET
(pbxproj 6 处:Runner+PacketTunnel 扩展 × debug/release/profile)+ Podfile
platform :ios 14.0→15.0。iOS15(2021)覆盖面足够,放弃 iOS14 无影响。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEVUXAbFT6bF1Qw27RHWoD
2026-09-08 11:18:42 +08:00
4 changed files with 39 additions and 8 deletions
+24
View File
@@ -40,6 +40,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# 浅克隆:走 ali frps 隧道时数据量从全历史降到一层,大幅降低 Checkout 超时率
# (外网/在家都受益;根治外网稳定见 fetch 重试 + frps 调优)。
fetch-depth: 1
- name: Compile (Android APK)
env:
@@ -71,6 +75,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# 浅克隆:走 ali frps 隧道时数据量从全历史降到一层,大幅降低 Checkout 超时率
# (外网/在家都受益;根治外网稳定见 fetch 重试 + frps 调优)。
fetch-depth: 1
- name: Compile (Windows installer)
shell: bash
@@ -113,6 +121,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# 浅克隆:走 ali frps 隧道时数据量从全历史降到一层,大幅降低 Checkout 超时率
# (外网/在家都受益;根治外网稳定见 fetch 重试 + frps 调优)。
fetch-depth: 1
# 多账号切换(见 docs/ci-multi-account-signing-design.html):从 signing.env
# 单源读 SIGNING_ACCOUNT(us|cn),下方按它选账号的证书/ASC 密钥集。
@@ -158,6 +170,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# 浅克隆:走 ali frps 隧道时数据量从全历史降到一层,大幅降低 Checkout 超时率
# (外网/在家都受益;根治外网稳定见 fetch 重试 + frps 调优)。
fetch-depth: 1
- name: Resolve signing account
id: acct
@@ -191,6 +207,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# 浅克隆:走 ali frps 隧道时数据量从全历史降到一层,大幅降低 Checkout 超时率
# (外网/在家都受益;根治外网稳定见 fetch 重试 + frps 调优)。
fetch-depth: 1
- name: Compile (Astro 官网)
env:
SITE_URL: https://pangolin.yanmeiai.com
@@ -226,6 +246,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# 浅克隆:走 ali frps 隧道时数据量从全历史降到一层,大幅降低 Checkout 超时率
# (外网/在家都受益;根治外网稳定见 fetch 重试 + frps 调优)。
fetch-depth: 1
# 一次性下所有 artifact(不带 name),避免同 job 内两次复用 download-artifact
# action → act 对其只读缓存 git 仓库做二次操作时 EACCES(pack idx 444)。
+1 -1
View File
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
platform :ios, '14.0'
platform :ios, '15.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+6 -6
View File
@@ -465,7 +465,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -543,7 +543,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -592,7 +592,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
@@ -663,7 +663,7 @@
"$(PROJECT_DIR)/Frameworks",
);
INFOPLIST_FILE = PacketTunnel/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -695,7 +695,7 @@
"$(PROJECT_DIR)/Frameworks",
);
INFOPLIST_FILE = PacketTunnel/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
@@ -727,7 +727,7 @@
"$(PROJECT_DIR)/Frameworks",
);
INFOPLIST_FILE = PacketTunnel/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
+8 -1
View File
@@ -57,7 +57,14 @@ rm -rf "$WORK/sing-box"
# sing-box 源码:默认 github,CI 里国内 runner 连不上 github → 经 SINGBOX_GIT 指向
# NAS gitea 镜像(wangjia/sing-box,gitea migrate 自 github)。见 deploy-client.yml。
SINGBOX_GIT="${SINGBOX_GIT:-https://github.com/SagerNet/sing-box.git}"
git clone --depth 1 --branch "$SINGBOX_VERSION" "$SINGBOX_GIT" "$WORK/sing-box"
# 已是 --depth 1 浅克隆;外网 runner 经 ali frps 隧道 clone 偶发超时 → 重试 3 次。
_sb_ok=
for _try in 1 2 3; do
rm -rf "$WORK/sing-box"
if git clone --depth 1 --branch "$SINGBOX_VERSION" "$SINGBOX_GIT" "$WORK/sing-box"; then _sb_ok=1; break; fi
echo " sing-box clone 第 $_try 次失败(frps 抖动?),12s 后重试..."; sleep 12
done
[ -n "$_sb_ok" ] || { echo "✗ sing-box clone 重试耗尽($SINGBOX_GIT)"; exit 1; }
cd "$WORK/sing-box"
echo "==> [3/3] 用官方 build_libbox 编核心库"