From e3bb172e790af65c63c1b5e3d3b27ed6ad6550c5 Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Fri, 13 Sep 2024 23:01:09 +0900 Subject: [PATCH] OCaml Compiler Support Matrix Signed-off-by: Sora Morimoto --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index d590d617..5f534393 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,28 @@ jobs: - run: opam exec -- dune runtest ``` +### OCaml Compiler Support Matrix + +When using GitHub-hosted runners, specifying compiler version `4` or `5` should work across all platforms and architectures. However, there are exceptions, as shown below. If you need to test with specific versions, please choose the appropriate version for your runtime environment. + +#### x86 64 bits + +| Version | Ubuntu | macOS | Windows | +| ----------------- | ------------------ | ------------------ | ------------------ | +| >= 4.13 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| >= 4.02 & <= 4.12 | :white_check_mark: | :white_check_mark: | :x: | +| <= 4.01 | :white_check_mark: | :white_check_mark: | :x: | + +#### ARM 64 bits + +| Version | Ubuntu | macOS | Windows | +| ----------------- | ------------------ | ------------------ | ------- | +| >= 4.12 | :white_check_mark: | :white_check_mark: | :x: | +| = 4.11 | :white_check_mark: | :x: | :x: | +| = 4.10 | :white_check_mark: | :white_check_mark: | :x: | +| >= 4.02 & <= 4.09 | :white_check_mark: | :x: | :x: | +| <= 4.01 | :x: | :x: | :x: | + ### Versioning The actions are downloaded and run from the GitHub graph of repositories. The workflow references an action using a ref.