diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 971dd2af..dd2c1853 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -31,21 +31,37 @@ jobs: go-version: '1.20' - name: Install libheif (linux) -# if: runner.os == 'linux' - shell: bash + if: runner.os == 'linux' run: "chmod +x ./.github/workflows/build-libheif.sh && ./.github/workflows/build-libheif.sh" - - name: Install libheif (windows) + - name: Debug libheif (windows) if: runner.os == 'windows' shell: bash run: | - git clone https://github.com/Microsoft/vcpkg.git - cd vcpkg - .\bootstrap-vcpkg.bat - .\vcpkg integrate install - .\vcpkg install libde265:x64-windows libheif:x64-windows + set -ex + apt-get install -y git cmake make pkg-config libx265-dev libde265-dev libjpeg-dev libtool + git clone https://github.com/strukturag/libheif.git + cd libheif + git checkout v1.17.6 + mkdir build + cd build + cmake --preset=release .. + make + make install + ldconfig cd .. +# - name: Install libheif (windows) +# if: runner.os == 'windows' +# shell: bash +# run: | +# git clone https://github.com/Microsoft/vcpkg.git +# cd vcpkg +# .\bootstrap-vcpkg.bat +# .\vcpkg integrate install +# .\vcpkg install libde265:x64-windows libheif:x64-windows +# cd .. + - name: Dist shell: bash run: |