From 6f4c7a47ffb70e5a044c6e12ae1a0fea8a8f585e Mon Sep 17 00:00:00 2001 From: Dmitriy Kovalenko Date: Sat, 17 Aug 2024 23:46:38 +0200 Subject: [PATCH] X --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64bd361e..c22a5485 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,12 +53,17 @@ jobs: echo "LIBJPEG_CFLAGS=$(pkg-config --cflags libturbojpeg)" >> $GITHUB_ENV echo "LIBJPEG_LIBS=$(pkg-config --libs libturbojpeg)" >> $GITHUB_ENV + curl -L -o opam64.tar.xz https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.2/opam64.tar.xz + tar -xf opam64.tar.xz + bash opam64/install.sh + - uses: ocaml/setup-ocaml@v3 with: - opam-repositories: "default:https://github.com/fdopen/opam-repository-mingw.git#opam2" - ocaml-compiler: "ocaml-variants.4.07.1+mingw64" + ocaml-compiler: "ocaml-variants.4.11.0+flambda+mingw64c" opam-disable-sandboxing: true dune-cache: true + opam-repositories: | + default: git+https://github.com/fdopen/opam-repository-mingw.git#opam2 - name: Install deps & build run: opam install . --with-test