Skip to content

Commit

Permalink
Straight to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrKovalenko committed Aug 20, 2024
1 parent 594ab4d commit 9a0a862
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@ jobs:

- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "4.14.2"
ocaml-compiler: "5.2.0"
opam-disable-sandboxing: true
dune-cache: false
# opam-repositories: |
# default: git+https://github.com/fdopen/opam-repository-mingw.git#opam2

- run: opam switch create 4.14.2-mingw64 arch-x86_64 system-mingw ocaml.4.14.2
- run: opam switch create 5.2.0-mingw64 arch-x86_64 system-mingw ocaml.5.2.0

- name: Install deps & build
run: |
opam switch 4.14.2-mingw64
opam switch 5.2.0-mingw64
opam install . --with-test
opam exec -- dune build --verbose
Expand Down
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
(synopsis "Pixel-by-pixel image difference algorithm")
(depends
dune
(ocaml (= 4.14.2))
(ocaml (= 5.2.0))
)
)

Expand All @@ -42,7 +42,7 @@
(depends
dune
odiff-core
(ocaml (= 4.14.2))
(ocaml (= 5.2.0))
(dune-configurator (>= 2.8))
)
)
3 changes: 1 addition & 2 deletions odiff-core.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ homepage: "https://github.com/dmtrKovalenko/odiff"
bug-reports: "https://github.com/dmtrKovalenko/odiff/issues"
depends: [
"dune" {>= "2.8"}
"ocaml" {= "4.14.2"}
"ocaml" {= "5.2.0"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"--verbose"
"-p"
name
"-j"
Expand Down
2 changes: 1 addition & 1 deletion odiff-io.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bug-reports: "https://github.com/dmtrKovalenko/odiff/issues"
depends: [
"dune" {>= "2.8"}
"odiff-core"
"ocaml" {= "4.14.2"}
"ocaml" {= "5.2.0"}
"dune-configurator" {>= "2.8"}
"odoc" {with-doc}
]
Expand Down

0 comments on commit 9a0a862

Please sign in to comment.