ci+fix: link the exported UCRT time symbols; gdb over copier_test too

- localtime_s/gmtime_s are MinGW header inlines, not symbols — link
  _localtime64_s/_gmtime64_s
- copier_test also segfaults only on the Linux runner; add it to the
  on-failure gdb backtrace
This commit is contained in:
2026-08-21 09:51:22 +08:00
parent 7fb9c92931
commit b5a2ea7697
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ jobs:
if: failure()
run: |
sudo apt-get install -y gdb
for name in node_e2e_test suites_test; do
for name in node_e2e_test suites_test copier_test; do
BIN=$(ls -t target/debug/deps/$name-* | grep -v '\.d$' | head -1)
[ -n "$BIN" ] || continue
xvfb-run -a gdb -batch -ex run -ex bt -- "$BIN" --nocapture || true