mirror of
https://github.com/zap-proto/lua.git
synced 2026-10-30 15:04:38 +00:00
- .github/workflows/ci.yml: push-to-main + PR + workflow_dispatch. Installs luajit + luarocks + lunitx + capnproto on ubuntu-latest, loads the module, runs the full suite. Validated end-to-end in ubuntu:22.04 (capnp 0.8.0): 59 tests / 504 assertions, 0 failures, 0 skips. - tools/gen-example.sh: single canonical path to generate proto/example_zap.lua from proto/*.zap using the capnp front-end + this repo's pure-Lua compiler. Makes tests 01 and 10 run for real instead of skipping when no 'zap' tool. - tests/run_tests.sh: generate the fixture via tools/gen-example.sh; honest skip only when capnp is genuinely absent. - bin/zapc-lua: make cjson optional (pcall) to match bin/zapc-llua; it is only used for the --verbose debug dump and is not required to run.