Skip to content

Commit

Permalink
Update OCaml compiler version to 5.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Sep 14, 2023
1 parent c371703 commit ddc08db
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ jobs:
- macos-latest
- ubuntu-latest
ocaml-compiler:
- "5.0"
- "5.1"
include:
- os: windows-latest
ocaml-compiler: "4.14"
- os: ubuntu-latest
ocaml-compiler: ocaml-variants.5.0.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static
ocaml-compiler: ocaml-variants.5.1.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static

runs-on: ${{ matrix.os }}

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- ubuntu-latest
- windows-latest
ocaml-compiler:
- "5.0"
- "5.1"

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -128,12 +128,12 @@ more detailed examples please refer to the

Examples:

- Exact package name: `ocaml-base-compiler.5.0.0`,
- Exact package name: `ocaml-base-compiler.5.1.0`,
`ocaml-variants.4.14.0+mingw64c`
- Combine multiple packages:
`ocaml-variants.5.0.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static`
- Minor versions: `4.08`, `4.14`, `5.0`, `5.0.x`
- More specific versions: `~4.02.2`, `5.0.0`,
`ocaml-variants.5.1.0+options,ocaml-option-flambda,ocaml-option-musl,ocaml-option-static`
- Minor versions: `4.08`, `4.14`, `5.1`, `5.1.x`
- More specific versions: `~4.02.2`, `5.1.0`,

## Advanced Configurations

Expand Down
4 changes: 2 additions & 2 deletions deploy-doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml 5.0
- name: Set-up OCaml 5.1
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.0"
ocaml-compiler: "5.1"
dune-cache: true

- name: Deploy odoc to GitHub Pages
Expand Down
4 changes: 2 additions & 2 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ strategy:
- ubuntu-latest
- windows-latest
ocaml-compiler:
- 4.14
- "5.1"

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -104,7 +104,7 @@ strategy:
- debian:latest
- ubuntu:latest
ocaml-compiler:
- "5.0"
- "5.1"
container: ${{ matrix.container }}
Expand Down
4 changes: 2 additions & 2 deletions lint-doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml 5.0
- name: Set-up OCaml 5.1
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.0"
ocaml-compiler: "5.1"
dune-cache: true

- name: Lint doc
Expand Down
4 changes: 2 additions & 2 deletions lint-fmt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml 5.0
- name: Set-up OCaml 5.1
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.0"
ocaml-compiler: "5.1"
dune-cache: true

- name: Lint fmt
Expand Down
2 changes: 1 addition & 1 deletion lint-opam/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set-up OCaml 4.14
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.14
ocaml-compiler: "4.14"
dune-cache: true

- name: Lint opam
Expand Down

0 comments on commit ddc08db

Please sign in to comment.