Skip to content

Commit

Permalink
Revert "[ci] use ocaml 5" (stay on ocaml 4 for now)
Browse files Browse the repository at this point in the history
This reverts commit 3d8c248.
  • Loading branch information
kLabz committed Jul 6, 2023
1 parent 8e4773f commit d17f492
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Setup ocaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 5.0.0
ocaml-compiler: 4.08.1
opam-repositories: |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
default: https://github.com/ocaml/opam-repository.git
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
continue-on-error: true
uses: kLabz/setup-ocaml@win32
with:
ocaml-compiler: 5.0.0
ocaml-compiler: 4.08.1
opam-depext: false
opam-repositories: |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
Expand All @@ -185,7 +185,7 @@ jobs:
if: steps.ocaml.outcome == 'failure'
uses: kLabz/setup-ocaml@win32
with:
ocaml-compiler: 5.0.0
ocaml-compiler: 4.08.1
opam-depext: false
opam-repositories: |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
Expand Down Expand Up @@ -303,7 +303,6 @@ jobs:
set -ex
opam init # --disable-sandboxing
opam update
opam switch create 5.0.0
opam pin add haxe . --no-action
opam install haxe --deps-only --assume-depexts
opam list
Expand Down Expand Up @@ -646,7 +645,7 @@ jobs:
set -ex
opam init # --disable-sandboxing
opam update
opam switch create 5.0.0
opam switch create 4.08.1
eval $(opam env)
opam env
opam pin add ctypes 0.17.1 --yes
Expand Down
4 changes: 2 additions & 2 deletions haxe.opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ build: [
install: [make "install" "INSTALL_DIR=%{prefix}%"]
remove: [make "uninstall" "INSTALL_DIR=%{prefix}%"]
depends: [
"ocaml" {>= "5.0"}
"ocaml" {>= "4.08"}
"ocamlfind" {build}
"dune" {>= "1.11"}
"camlp5"
"camlp5" {build & = "8.00"}
"sedlex" {>= "2.0"}
"xml-light"
"extlib" {>= "1.7.8"}
Expand Down

0 comments on commit d17f492

Please sign in to comment.