Skip to content

chore: use 5.1.1 for tests#10763

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

chore: use 5.1.1 for tests#10763
emillon merged 1 commit intomainfrom
test-ocaml-5.1.1

Conversation

@emillon
Copy link
Copy Markdown
Collaborator

@emillon emillon commented Jul 23, 2024

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
Copy link
Copy Markdown
Collaborator Author

emillon commented Aug 1, 2024

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

Copy link
Copy Markdown
Collaborator

@ElectreAAS ElectreAAS left a comment

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 <me@emillon.org>
@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 <me@emillon.org>
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.

4 participants