Commit graph

402 commits

Author SHA1 Message Date
cdfdb976c8 test runner, cross-target runners, lib/exe split
- subprocess-isolated test runner (replaces V1 dlopen-RunTest);
  Pass/Fail/Crash/Timeout/Skipped outcomes via :Test partition
- TestRunner abstraction with command templates: Local, Ssh,
  SshWin (cmd.exe-shell), QemuUser, FromEnv; probe-based skip
  when runner unreachable
- transitive PCM-path propagation in Build(); resolveImport
  walks deps recursively; depResults cache keyed by PcmDir()
  so per-target builds don't collide
- cfg.sysroot threaded through BuildStdPcm + base compile/link
  command (enables aarch64 cross via Arch Linux ARM rootfs)
- lib + exe split: project.cpp defines crafterBuildLib
  (LibraryStatic) + crafterBuildExe (Executable depending on
  it); build.sh produces lib/libcrafter-build.a alongside
  bin/crafter-build for downstream static-link consumers
- Windows DLL+launcher: CRAFTER_API macro, /EXPORT flag for
  project.dll's CrafterBuildProject; Crafter::Run as the real
  entry point with main.cpp as a thin wrapper
- 18 tests: HelloWorld/WithModule/Defines/CrossProjectModule/
  Diamond × (Linux + sshwin:winvm), plus Incremental,
  BuildError, Libraries, RunnerClassification, QemuUser,
  SshRunner, WindowsViaSsh, CrossArchAarch64
- single ./bin/crafter-build test runs everything; Windows
  variants skip gracefully if winvm SSH alias unreachable

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-27 22:32:19 +02:00
f13671b2be v2 nearly done 2026-04-27 07:04:42 +02:00
5e1fcd8590 V2 progress 2026-04-23 01:57:25 +02:00
d2f5863552 windows define fix
Some checks failed
demo.yaml / windows define fix (push) Failing after 0s
2026-04-14 16:34:35 +02:00
d4ec1127f8 msvc pcm folder fix
Some checks failed
demo.yaml / msvc pcm folder fix (push) Failing after 0s
2026-04-14 16:25:37 +02:00
b906fa55fb msvc pcm march
Some checks failed
demo.yaml / msvc pcm march (push) Failing after 0s
2026-04-14 16:23:40 +02:00
4f6a77fb54 fixed msvc stdpcm
Some checks failed
demo.yaml / fixed msvc stdpcm (push) Failing after 0s
2026-04-14 16:12:06 +02:00
2d89528bdf fixed mingw
Some checks failed
demo.yaml / fixed mingw (push) Failing after 0s
2026-04-02 16:53:07 +02:00
e4e4e67cc0 cmake lib fix
Some checks failed
demo.yaml / cmake lib fix (push) Failing after 0s
2026-03-24 01:12:36 +01:00
cbdcfee462 std pcm march dependant 2026-03-22 20:40:59 +01:00
a6fbed5d5f added config target string 2026-03-15 01:52:07 +01:00
8d521340d4 windows exception handler
Some checks failed
demo.yaml / windows exception handler (push) Failing after 0s
2026-03-09 20:22:01 +01:00
64945d95ef windows exception handler
Some checks failed
demo.yaml / windows exception handler (push) Failing after 0s
2026-03-09 20:20:17 +01:00
7a64859d24 windows exception handler
Some checks failed
demo.yaml / windows exception handler (push) Failing after 0s
2026-03-09 20:14:44 +01:00
898e3f8a16 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-03 00:06:00 +01:00
515294c7e6 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 23:46:36 +01:00
0f1ca7f636 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 23:45:13 +01:00
ffbec94c08 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 23:44:09 +01:00
fe4e552e31 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 23:14:40 +01:00
a5e08a0c5b windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 23:08:17 +01:00
8c80cab079 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 23:02:13 +01:00
25f7a1371d windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:59:56 +01:00
ee19729ee5 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:55:42 +01:00
b20d5e3140 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:51:54 +01:00
7d09937076 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:51:14 +01:00
4614b93c3f windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:49:51 +01:00
0b9a27cb7c windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:48:54 +01:00
58c43f2942 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:48:30 +01:00
3823d4360f windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:47:14 +01:00
81512e8e9b windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:46:45 +01:00
6118ade781 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:43:24 +01:00
2bdf218a54 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:36:56 +01:00
d824f88cb5 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:32:07 +01:00
bdfa10e835 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:28:03 +01:00
46b00d714f windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:25:54 +01:00
8c44aba5bc windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:22:35 +01:00
1311ece26f windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:20:37 +01:00
e8edd610f5 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:15:22 +01:00
04533b5778 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:14:56 +01:00
d9069501b9 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:13:30 +01:00
01bc17ac7c windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:10:49 +01:00
99bd7d9ad1 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:07:01 +01:00
46f0385f32 windows build fix
Some checks failed
demo.yaml / windows build fix (push) Failing after 0s
2026-03-02 22:04:07 +01:00
5b0df7af1a windows fix
Some checks failed
demo.yaml / windows fix (push) Failing after 0s
2026-03-02 21:56:01 +01:00
19cfbdbb13 windows fix
Some checks failed
demo.yaml / windows fix (push) Failing after 0s
2026-03-02 21:49:51 +01:00
4e2f515718 windows fix
Some checks failed
demo.yaml / windows fix (push) Failing after 0s
2026-03-02 21:42:21 +01:00
623f02a41b windows fix
Some checks failed
demo.yaml / windows fix (push) Failing after 0s
2026-03-02 21:41:02 +01:00
a9dc236dd1 dep type include
Some checks failed
demo.yaml / dep type include (push) Failing after 0s
2026-03-02 21:40:24 +01:00
0485ccac0f windows fix
Some checks failed
demo.yaml / windows fix (push) Failing after 0s
2026-03-02 21:38:58 +01:00
73883b5807 windows fix
Some checks failed
demo.yaml / windows fix (push) Failing after 0s
2026-03-02 21:38:48 +01:00