ci(m171): 两个 windows 作业显式豁免跨卷守卫
Guards / 依赖许可与来源(cargo-deny) (push) Canceled after 0s
Guards / 文件行数 ≤400 守门 (push) Canceled after 0s
Guards / unsafe 落点守门(集合必须恰好一个文件) (push) Canceled after 0s
Guards / design 零第三方依赖守门 (push) Canceled after 0s
Guards / presenter 零 UI 守门 (push) Canceled after 0s
Guards / core 零 UI 守门 (push) Canceled after 0s
Dev Guards / 架构与合规守门(同 main 口径) (push) Canceled after 0s
Dev Guards / fmt (rustfmt --check) (push) Canceled after 0s
Dev Guards / clippy (ubuntu) (push) Canceled after 0s

M171 合并后,跨卷守卫在只有一块系统卷的 runner 上会判红(这是设计:
跳过必须是响的)。runner 是否有第二块可写卷没有核实手段,因此不赌,
显式给 ULL_XDEV_TEST_WAIVE=1;该豁免是惰性的,探到第二块卷时不参与
判断。补丁位置属 M171 scope 之外,由 tower 在合并窗口内一并落地。
This commit is contained in:
AskaEth committed 2026-11-08 13:52:35 +08:00
1 parent 9700de1bd4
commit 2a004a5754
1 file changed
+7
+7
View File
@@ -166,6 +166,10 @@ jobs:
- name: cargo test --workspace --all-targets(windows,失败升注解)
if: runner.os == 'Windows'
shell: pwsh
env:
# M171 跨卷守卫:runner 到底有没有第二块可写卷没有核实手段,所以不赌 —— 显式声明豁免。
# 豁免是惰性的:真探到第二块卷时它不参与判断(见 install_xdev_cases 的真值表用例)。
ULL_XDEV_TEST_WAIVE: "1"
run: |
# pwsh 没有 PIPESTATUS(那是 bash 语法):拿 `$LASTEXITCODE` —— Tee-Object 是 cmdlet,
# 不会把它改掉,所以它是 cargo 自己的码。
@@ -307,6 +311,9 @@ jobs:
name: update-e2e (windows x64)
runs-on: windows-latest
timeout-minutes: 45
env:
# 同 test 作业:跨卷 e2e 守卫在没有第二块卷的 runner 上需要显式豁免,否则会判红。
ULL_XDEV_TEST_WAIVE: "1"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable