77# structural — fast, no compiler required (grammar, spec, fixtures, layout)
88# build-e2e — full build then E2E (Rust cargo check + OCaml dune build)
99name : E2E Validation
10-
1110on :
1211 pull_request :
1312 branches : ['**']
1413 push :
1514 branches : [main, master]
16-
1715permissions :
1816 contents : read
19-
2017jobs :
2118 # --------------------------------------------------------------------------
2219 # Job 1: Structural validation (no toolchain needed)
@@ -25,50 +22,40 @@ jobs:
2522 name : Structural E2E (no-build)
2623 runs-on : ubuntu-latest
2724 timeout-minutes : 15
28-
2925 steps :
3026 - name : Checkout repository
3127 uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
32-
3328 - name : Run structural E2E checks
3429 run : E2E_BUILD=0 bash tests/e2e.sh
35-
3630 # --------------------------------------------------------------------------
3731 # Job 2: Full build + E2E (Rust + OCaml)
3832 # --------------------------------------------------------------------------
3933 build-e2e :
4034 name : Build + E2E (Rust + OCaml)
4135 runs-on : ubuntu-latest
4236 timeout-minutes : 15
43-
4437 steps :
4538 - name : Checkout repository
4639 uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
47-
4840 # ---- Rust ----
4941 - name : Install Rust stable toolchain
5042 uses : dtolnay/rust-toolchain@4be9e76fd7c4901c61fb841f559994984270fce7 # stable
5143 with :
5244 components : clippy, rustfmt
53-
5445 - name : Cache Cargo registry and build artefacts
5546 uses : Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
56-
5747 # ---- OCaml ----
5848 - name : Set up OCaml
5949 uses : ocaml/setup-ocaml@dec6499fef64fc5d7ed43d43a87251b7b1c306f5 # v3
6050 with :
6151 ocaml-compiler : 5.1.x
62-
6352 - name : Install opam dependencies
6453 run : |
6554 opam install --deps-only --with-test wokelang.opam -y || \
6655 opam install menhir ounit2 -y
67-
6856 # ---- Full E2E ----
6957 - name : Run full E2E (with build checks)
7058 run : E2E_BUILD=1 bash tests/e2e.sh
71-
7259 # ---- Conformance suite ----
7360 - name : Run conformance test runner
7461 run : bash tests/run_conformance.sh
0 commit comments