Skip to content

Commit

Permalink
X
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrKovalenko committed Aug 18, 2024
1 parent 59d68d6 commit cf4ff14
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v2.3.2
with:
packages: pkg-config
- uses: cygwin/cygwin-install-action@master
- shell: bash
run: rm -rf $(which pkg-config)

Expand Down Expand Up @@ -57,12 +54,12 @@ jobs:

- shell: bash
run: |
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
echo "LIBPNG_CFLAGS=lol" >> $GITHUB_ENV
echo "LIBPNG_LIBS=lol" >> $GITHUB_ENV
echo "LIBTIFF_LIBS=lol" >> $GITHUB_ENV
echo "LIBTIFF_CFLAGS=lol" >> $GITHUB_ENV
echo "LIBJPEG_CFLAGS=lol" >> $GITHUB_ENV
echo "LIBJPEG_LIBS=lol" >> $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
Expand All @@ -76,8 +73,9 @@ jobs:
# opam-repositories: |
# default: git+https://github.com/fdopen/opam-repository-mingw.git#opam2

- run: |
opam switch create 4.14.2-mingw64 arch-x86_64 system-mingw ocaml.4.14.2
- shell: bash
run: |
opam switch create 4.14.2-mingw64 arch-x86_64 system-mingw "ocaml.4.14.2"
- name: Install deps & build
run: |
Expand Down

0 comments on commit cf4ff14

Please sign in to comment.