Skip to content

Commit

Permalink
Experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Jan 27, 2024
1 parent 0517d32 commit f37d491
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit f37d491

Please sign in to comment.