Skip to content

Commit b400c6e

Browse files
committed
Run reanalyze on OCaml 5.2.1
1 parent 9270480 commit b400c6e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ jobs:
107107
upload_binaries: true
108108

109109
# Verify that the compiler still builds with older OCaml versions
110+
- os: ubuntu-24.04
111+
ocaml_compiler: ocaml-variants.5.2.1+options,ocaml-option-static
112+
# Reanalyze does not work on OCaml 5.3.0 anymore, therefore run it on 5.2.1
113+
run_reanalyze: true
110114
- os: ubuntu-24.04
111115
ocaml_compiler: ocaml-variants.5.0.0+options,ocaml-option-static
112116
- os: ubuntu-24.04
@@ -297,6 +301,10 @@ jobs:
297301
if: ${{ runner.os == 'Windows' }}
298302
run: opam exec -- make test-syntax
299303

304+
- name: "Syntax: Run reanalyze"
305+
if: matrix.run_reanalyze
306+
run: opam exec -- make reanalyze
307+
300308
- name: Build runtime/stdlib
301309
run: ./scripts/buildRuntime.sh
302310
shell: bash

Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ test-tools:
4040

4141
test-syntax:
4242
bash ./scripts/test_syntax.sh
43-
make reanalyze
4443
bash ./scripts/testok.sh
4544

4645
test-syntax-roundtrip:
4746
ROUNDTRIP_TEST=1 bash ./scripts/test_syntax.sh
48-
make reanalyze
4947
bash ./scripts/testok.sh
5048

5149
test-gentype:

0 commit comments

Comments
 (0)