Skip to content

Commit 4883b35

Browse files
committed
ci: temp macos verbose diagnostic
1 parent 0fbdc93 commit 4883b35

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
# Linux-only for now. Windows (Unix-only trigger.rs) and macOS (deps
21-
# build but the qol crate links none of them; needs `cargo clippy -v`
22-
# on a real Mac to inspect the rustc --extern flags) are unverified.
23-
# Tracked as Phase 5 work.
20+
# Windows omitted (Unix-only trigger.rs). macOS temporarily re-added to
21+
# diagnose the deps-not-linked build failure.
2422
platform:
2523
- { os: ubuntu-latest, label: ubuntu }
24+
- { os: macos-latest, label: macos }
2625

2726
steps:
2827
- uses: actions/checkout@v4
@@ -70,6 +69,17 @@ jobs:
7069
- name: Build frontend
7170
run: pnpm run build
7271

72+
# TEMP diagnostic: capture the exact rustc invocation for the qol bin on
73+
# macOS to see whether cargo omits the --extern flags for its deps.
74+
- name: macos verbose diagnostic
75+
if: matrix.platform.label == 'macos'
76+
working-directory: src-tauri
77+
run: |
78+
cargo clean
79+
cargo build -v 2>&1 | grep -E "Running .*--crate-name qol " | tr ' ' '\n' | grep -E "crate-name|--edition|--extern|-L " | head -80 || true
80+
echo "=== exit build ==="
81+
cargo build 2>&1 | tail -30 || true
82+
7383
# ──────────────── checks ────────────────
7484
- name: Rustfmt
7585
working-directory: src-tauri

0 commit comments

Comments
 (0)