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 3959bfd commit 319ba78
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Setup anew (or from cache) vcpkg (and does not build any package)
uses: lukka/run-vcpkg@v11
env:
VCPKG_DEFAULT_TRIPLET: x64-windows-static
VCPKG_DEFAULT_HOST_TRIPLET: x64-windows-static
VCPKG_DEFAULT_TRIPLET: x64-mingw-static
VCPKG_DEFAULT_HOST_TRIPLET: x64-mingw-static
with:
runVcpkgInstall: true
runVcpkgFormatString: '["install", "--clean-after-build"]'
Expand All @@ -41,24 +41,23 @@ jobs:
run: |
echo "PKG_CONFIG_PATH=${GITHUB_WORKSPACE}\vcpkg_installed\\${VCPKG_DEFAULT_TRIPLET}\lib\pkgconfig" >> $GITHUB_ENV
- shell: cmd
run: tree /f /a D:\a\odiff\odiff\vcpkg_installed

- run: |
choco install pkgconfiglite
- shell: bash
run: |
echo "LIBPNG_CFLAGS=-ID:/a/odiff/odiff/vcpkg_installed/x64-windows-static/include " >> $GITHUB_ENV
echo "LIBPNG_LIBS='-LD:/a/odiff/odiff/vcpkg_installed/x64-windows-static/lib -lspng_static -lzlib'" >> $GITHUB_ENV
echo "LIBPNG_CFLAGS=$(pkg-config --cflags libspng_static)" >> $GITHUB_ENV
echo "LIBPNG_LIBS=$(pkg-config --libs libspng_static)" >> $GITHUB_ENV
echo "LIBTIFF_LIBS=$(pkg-config --libs libtiff-4)" >> $GITHUB_ENV
echo "LIBTIFF_CFLAGS=$(pkg-config --cflags libtiff-4)" >> $GITHUB_ENV
echo "LIBJPEG_CFLAGS=$(pkg-config --cflags libturbojpeg)" >> $GITHUB_ENV
echo "LIBJPEG_LIBS=$(pkg-config --libs libturbojpeg)" >> $GITHUB_ENV
- uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.0
opam-repositories: "default:https://github.com/fdopen/opam-repository-mingw.git#opam2"
ocaml-compiler: "ocaml-variants.4.07.1+mingw64"
opam-disable-sandboxing: true
dune-cache: true

- name: Install deps & build
Expand Down

0 comments on commit 319ba78

Please sign in to comment.