Browse Source

[CI] Fix win64 CI

Rudy Ges 3 months ago
parent
commit
9ab36cee44
2 changed files with 4 additions and 8 deletions
  1. 2 5
      .github/workflows/main.yml
  2. 2 3
      haxe.opam

+ 2 - 5
.github/workflows/main.yml

@@ -51,12 +51,9 @@ jobs:
         run: neko -version 2>&1
 
       - name: Setup ocaml
-        uses: ocaml/setup-ocaml@v2
+        uses: ocaml/setup-ocaml@3d85bf33a66e089149cd1e9c75da7b9cb6d9d3a7
         with:
-          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
+          ocaml-compiler: 4.14.0
           opam-local-packages: |
             haxe.opam
 

+ 2 - 3
haxe.opam

@@ -19,9 +19,8 @@ build: [
 install: [make "install" "INSTALL_DIR=%{prefix}%"]
 remove: [make "uninstall" "INSTALL_DIR=%{prefix}%"]
 depends: [
-  ("ocaml" {>= "5.0"} & ("camlp5" {build}))
-    | ("ocaml" {>= "4.08" & < "5.0"} & ("camlp5" {build & = "8.00.03"}))
-  "ocamlfind" {build}
+  ("ocaml" {>= "5.0"} & ("camlp5" {build}) & ("ocamlfind" {build}))
+    | ("ocaml" {>= "4.08" & < "5.0"} & ("camlp5" {build}) & ("ocamlfind" {build & = "1.9.1"}))
   "dune" {>= "1.11" & < "3.16"}
   "sedlex" {>= "2.0"}
   "xml-light"