Skip to content

Commit

Permalink
Run reanalyze on OCaml 5.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cknitt committed Feb 15, 2025
1 parent 9270480 commit bb2ed44
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ jobs:
upload_binaries: true

# Verify that the compiler still builds with older OCaml versions
- os: ubuntu-24.04
ocaml_compiler: ocaml-variants.5.2.1+options,ocaml-option-static
# Reanalyze does not work on OCaml 5.3.0 anymore, therefore run it on 5.2.1
run_reanalyze: true
- os: ubuntu-24.04
ocaml_compiler: ocaml-variants.5.0.0+options,ocaml-option-static
- os: ubuntu-24.04
Expand Down Expand Up @@ -297,6 +301,12 @@ jobs:
if: ${{ runner.os == 'Windows' }}
run: opam exec -- make test-syntax

- name: "Syntax: Run reanalyze"
if: matrix.run_reanalyze
run: |
opam install reanalyze
opam exec -- make reanalyze
- name: Build runtime/stdlib
run: ./scripts/buildRuntime.sh
shell: bash
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ test-tools:

test-syntax:
bash ./scripts/test_syntax.sh
make reanalyze
bash ./scripts/testok.sh

test-syntax-roundtrip:
ROUNDTRIP_TEST=1 bash ./scripts/test_syntax.sh
make reanalyze
bash ./scripts/testok.sh

test-gentype:
Expand Down

0 comments on commit bb2ed44

Please sign in to comment.