Skip to content

chore: use 5.1.1 for tests - #10763

Merged
emillon merged 1 commit into
mainfrom
test-ocaml-5.1.1
Sep 2, 2024
Merged

emillon merged 1 commit into
mainfrom
test-ocaml-5.1.1

Conversation

@emillon

@emillon emillon commented Jul 23, 2024 •

Copy link
Copy Markdown
Collaborator

This bumps the version of OCaml used in tests to 5.1.1.

The changes should be straightforward to review:

  • version numbers are changed
  • CI is adjusted
  • some hashes are changed
  • the layout of the compiler is changed
  • some error messages are changed

Interesting changes to note:

  • on OCaml 5, with the dev profile, jsoo triggers a warning
  • the location of cmt files in install files is changed, because they are compressed and binary substitution does not happen

At the time this PR is opened, 5.2 is available but requires more changes around warnings and alerts in alias modules so it will be updated in a second step.

Also, there are a few components that we're leaving behind:

  • the monorepo benchmarks can be updated separately
  • the benchmark in bench.Dockerfile can be updated separately
  • coq cannot use OCaml 5 at the moment so it's forced to use 4.x
  • 5.1.1 doesn't support MSVC so we leave the build on 4.14 for now.

@emillon
emillon force-pushed the test-ocaml-5.1.1 branch 2 times, most recently from eff5fc7 to 44e7e36 Compare July 23, 2024 13:39
@emillon
emillon marked this pull request as ready for review August 1, 2024 16:35
@emillon
emillon requested a review from christinerose as a code owner August 1, 2024 16:35
@emillon
emillon requested a review from ElectreAAS August 1, 2024 16:36
@emillon

emillon commented Aug 1, 2024

Copy link
Copy Markdown
Collaborator Author

@ElectreAAS this is now ready, the individual commits should make sense for review.

Comment thread otherlibs/dune-site/test/run_2_9.t Resolved

@ElectreAAS ElectreAAS left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bar my minuscule comment, everything looks good to me! Very happy to see this done :)

os: ubuntu-latest
skip_test: true
# OCaml 5:
# OCaml 4:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this a typo? Or should we have a separate 4.14 CI run here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes indeed the plan was to add a 4.14 build-only CI instead of the 4.13 one.

This bumps the version of OCaml used in tests to 5.1.1.

The changes are:

- version numbers are changed
- CI is adjusted
- some hashes are changed
- the layout of the compiler is changed
- some error messages are changed
- Interesting changes to note:
  - on OCaml 5, with the dev profile, jsoo triggers a warning
  - the location of cmt files in install files is changed, because they
    are compressed and binary substitution does not happen

At the time this PR is opened, 5.2 is available but requires more
changes around warnings and alerts in alias modules so it will be
updated in a second step.

Also, there are a few components that we're leaving behind:

- the monorepo benchmarks can be updated separately
- the benchmark in bench.Dockerfile can be updated separately
- coq cannot use OCaml 5 at the moment so it's forced to use 4.x
- 5.1.1 doesn't support MSVC so we leave the build on 4.14 for now.

Signed-off-by: Etienne Millon <[email protected]>
@emillon
emillon merged commit 1967a10 into main Sep 2, 2024
@emillon
emillon deleted the test-ocaml-5.1.1 branch September 2, 2024 12:44
anmonteiro pushed a commit to anmonteiro/dune that referenced this pull request Nov 17, 2024
This bumps the version of OCaml used in tests to 5.1.1.

The changes are:

- version numbers are changed
- CI is adjusted
- some hashes are changed
- the layout of the compiler is changed
- some error messages are changed
- Interesting changes to note:
  - on OCaml 5, with the dev profile, jsoo triggers a warning
  - the location of cmt files in install files is changed, because they
    are compressed and binary substitution does not happen

At the time this PR is opened, 5.2 is available but requires more
changes around warnings and alerts in alias modules so it will be
updated in a second step.

Also, there are a few components that we're leaving behind:

- the monorepo benchmarks can be updated separately
- the benchmark in bench.Dockerfile can be updated separately
- coq cannot use OCaml 5 at the moment so it's forced to use 4.x
- 5.1.1 doesn't support MSVC so we leave the build on 4.14 for now.

Signed-off-by: Etienne Millon <[email protected]>
@Alizter Alizter added this to the 3.17.0 milestone Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants