Skip to content

Beta polish: runnable tests, portable build, CI, LICENSE, honest README - #8

Merged
MonkeyIsNull merged 1 commit into
mainfrom
beta-polish-test-suite
Oct 7, 2026
Merged

MonkeyIsNull merged 1 commit into
mainfrom
beta-polish-test-suite

Conversation

@MonkeyIsNull

Copy link
Copy Markdown
Owner

Brings VFM toward a credible beta:

  • Resurrect the test suite (the headline gap — a safety-first VM with two JIT backends had no runnable tests). Fixed bit-rotted include paths + an old struct layout, re-enabled four disabled-but-passing tests, and wired in the JIT test. make test is now green: 14 unit tests + JIT test.
  • Portable default build — gate -march=native behind NATIVE=1 so the default build can't SIGILL on other CPUs / in CI.
  • CI — GitHub Actions matrix over macOS (ARM64 JIT) and Ubuntu (x86-64 JIT compile path), building the portable default and running the tests.
  • LICENSE — add MIT (README already claimed it).
  • Honest README — label experimental / not-yet-implemented paths (multi-core batch, adaptive JIT) and mark unverified throughput numbers as design targets, not measured results.
  • gitignore the test/bench binaries.

No engine/JIT logic changed; the disabled tests were bit-rot, not real bugs (verified each passes). Tested locally on macOS ARM64; Ubuntu leg is what the CI runner is for.

… README

- Resurrect the test suite: fix bit-rotted include paths and struct layout,
  re-enable four disabled-but-passing tests, and wire in jit_test. make test
  is now green (14 unit tests + JIT test).
- Make the default build portable by gating -march=native behind NATIVE=1
  (default build no longer risks SIGILL on other CPUs / CI).
- Add GitHub Actions CI (macOS + Ubuntu) building the portable default and
  running the tests, including the x86-64 JIT compile path on Linux.
- Add a LICENSE file (MIT).
- Correct README overclaims: label the experimental / not-yet-implemented
  paths (multi-core batch, adaptive JIT) and mark unverified throughput
  numbers as design targets rather than measured results.
- gitignore the test/bench binaries.
@MonkeyIsNull
MonkeyIsNull merged commit 756a9b3 into main Oct 7, 2026
1 of 2 checks passed
@MonkeyIsNull
MonkeyIsNull deleted the beta-polish-test-suite branch October 7, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant