Skip to content

Commit 1426d18

Browse files
DanMeonclaude
andcommitted
ci: 상류 CLI 검증 step 의 binary path 수정
이전 시도는 working-directory: external/rhwp 에서 target/release/rhwp 를 찾았으나 rhwp-python 의 Cargo.toml 이 workspace 를 정의하고 external/rhwp 를 path dependency 로 포함하므로 cargo build 산출물이 repo root 의 target/ 에 떨어짐. working-directory 제거 + sample 경로를 external/rhwp/samples/aift.hwp 로 보정. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f9afc80 commit 1426d18

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,18 +229,17 @@ jobs:
229229
name: macos-png-hang-samples
230230
path: /tmp/diag/
231231
if-no-files-found: warn
232-
# * 상류 CLI 자체도 hang 하는지 확인 — rhwp export-svg 가 같은 FontMgr 진입점을 거침
232+
# * 상류 CLI 자체도 hang 하는지 확인 — rhwp export-svg 가 같은 FontMgr 진입점을 거침. workspace target 이 root 에 있음 (Cargo.toml workspace) 이라 working-directory 안 잡고 root 에서 빌드.
233233
- name: Upstream rhwp CLI 재현 (macOS, export-svg)
234234
if: always() && runner.os == 'macOS'
235-
working-directory: external/rhwp
236235
run: |
237236
set +e
238-
cargo build --release --bin rhwp 2>&1 | tail -5
239-
BIN=./target/release/rhwp
240-
[ -x "$BIN" ] || { echo "(rhwp 바이너리 빌드 실패)"; exit 0; }
237+
cargo build --release --bin rhwp 2>&1 | tail -3
238+
BIN=target/release/rhwp
239+
[ -x "$BIN" ] || { echo "(빌드 산출물 없음)"; find . -name "rhwp" -type f -maxdepth 5 2>/dev/null | head -5; exit 0; }
241240
mkdir -p /tmp/svg_diag
242241
echo "=== export-svg page 0, 90s timeout ==="
243-
time timeout 90 "$BIN" export-svg samples/aift.hwp -o /tmp/svg_diag -p 0
242+
time timeout 90 "$BIN" export-svg external/rhwp/samples/aift.hwp -o /tmp/svg_diag -p 0
244243
RC=$?
245244
case "$RC" in
246245
124) echo "⚠️ TIMEOUT — 상류 CLI 도 동일하게 hang" ;;

0 commit comments

Comments
 (0)