Skip to content

Commit

Permalink
X
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrKovalenko committed Aug 17, 2024
1 parent 319ba78 commit 4bd0a9f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
- run: |
choco install pkgconfiglite
- uses: cygwin/cygwin-install-action@master

- shell: bash
run: |
echo "LIBPNG_CFLAGS=$(pkg-config --cflags libspng_static)" >> $GITHUB_ENV
Expand All @@ -53,12 +55,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
Expand Down

0 comments on commit 4bd0a9f

Please sign in to comment.