- programs/parallel_map, channel_transfer, tcp_echo_tasks: the Phase 3 exit programs in .aji, with AIR equivalence on every schedule seed - tools/source_coverage.py: every .aji construct (56) has a run/accept test and, where it rejects, a reject test; CI step - gaps filled: wrapping arithmetic run test, break outside a loop (E7006), close_receiver without pending (E7004) - plan: P6A-7 freeze criterion (owner decision); further twins gradually
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: mlugg/setup-zig@v2
|
|
with:
|
|
version: 0.17.0
|
|
- run: zig fmt --check build.zig build.zig.zon src tools tests/extended
|
|
- run: zig build test --summary all
|
|
- run: zig build conformance
|
|
- run: zig build conformance -- --stress 200
|
|
- run: zig build && python3 tests/hosted/smoke.py
|
|
- run: zig-out/bin/aji run --grant out=io.write --grant heap=mem.alloc:64 docs/agent/syntax-example.air
|
|
- run: zig build agent-reference
|
|
- name: Source construct coverage (Phase 6A)
|
|
run: python3 tools/source_coverage.py
|
|
- name: Evaluation harness self-tests
|
|
run: cd tools/eval && python3 -m unittest discover tests
|
|
- name: Agent Reference Bundle tokens (non-blocking)
|
|
continue-on-error: true
|
|
run: pip install --quiet tiktoken tokenizers && python3 tools/agent_bundle_tokens.py
|
|
- run: zig-out/bin/aji run --manifest examples/packages/hello/aji.toml | grep -q '"stdout":"hello, aji\\n"'
|
|
|
|
# Long-running tests, kept out of the main job.
|
|
extended:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: mlugg/setup-zig@v2
|
|
with:
|
|
version: 0.17.0
|
|
- run: zig build test-extended --summary all
|
|
- run: zig build conformance -- --collect-every-step
|
|
- run: zig build conformance -- --stress 20 --collect-every-step
|