Skip to content

Commit

Permalink
feat!: Require OCaml 4.12 (#108)
Browse files Browse the repository at this point in the history
chore: Update dependencies to support OCaml 4.12
chore: Update CI to support OCaml 4.12
  • Loading branch information
phated committed Sep 14, 2021
1 parent 77cafe9 commit 36eedea
Show file tree
Hide file tree
Showing 54 changed files with 1,046 additions and 845 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/opam.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-18.04, macos-latest, windows-latest]
ocaml-version: [4.11.1]
ocaml-version: [4.12.0]

steps:
- name: Checkout project
Expand All @@ -21,15 +21,14 @@ jobs:
submodules: 'recursive'

- name: Setup OCaml ${{ matrix.ocaml-version }}
uses: avsm/setup-ocaml@v1
uses: ocaml/setup-ocaml@v1.1.12
with:
ocaml-version: ${{ matrix.ocaml-version }}

# I'm not exactly sure what the `opam pin` does
- name: Setup environment
run: |
opam pin add binaryen.dev . --no-action
opam depext binaryen --yes --with-doc --with-test
- name: Install local dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Setup OCaml
uses: avsm/setup-ocaml@v1
with:
ocaml-version: 4.11.1
ocaml-version: 4.12.0

- name: Install publish utils
run: |
Expand Down
12 changes: 6 additions & 6 deletions binaryen.opam
Expand Up @@ -12,11 +12,11 @@ build: [
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"ocaml" {>= "4.09"}
"dune" {>= "2.7.1"}
"dune-configurator" {>= "2.7.1"}
"js_of_ocaml" {>= "3.6.0"}
"js_of_ocaml-ppx" {>= "3.6.0"}
"js_of_ocaml-compiler" {>= "3.6.0"}
"ocaml" {>= "4.12" < "4.13"}
"dune" {>= "2.9.1"}
"dune-configurator" {>= "2.9.1"}
"js_of_ocaml" {>= "3.10.0"}
"js_of_ocaml-ppx" {>= "3.10.0"}
"js_of_ocaml-compiler" {>= "3.10.0"}
]
available: arch = "x86_64" & (os = "linux" | os = "macos" | os = "win32")

0 comments on commit 36eedea

Please sign in to comment.