ci: optional selfhost-loop workflow + determinism script

Add tools/selfhost_loop.sh with path-normalized C and stripped ELF
checks (bootstrap ×2). Wire GitHub Actions (manual/weekly/main paths)
outside default make test. Raise selfhost lexer maxTokens for large files.
This commit is contained in:
2026-07-19 23:43:51 +03:00
parent c82757d51c
commit fe1da8b42e
7 changed files with 256 additions and 40 deletions
+2 -1
View File
@@ -42,7 +42,8 @@ module Lexer {
// Lexer state
// ---------------------------------------------------------------------------
const maxTokens: int = 32768;
// hir_lower.bux alone is ~32k+ tokens; keep headroom for larger units / growth
const maxTokens: int = 131072;
const maxDiags: int = 128;
struct LexerDiag {