From 6f39d747b7f192f09717fb53a3fe8d55d82a41b6 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Sun, 24 Nov 2024 02:31:56 +0300 Subject: [PATCH] apply temporary workaround for macOS-14 --- .github/workflows/analysis-coverage.yml | 3 +++ .github/workflows/test-src-build-macos.yml | 6 ++++++ .github/workflows/wheels-pi_heif.yml | 3 +++ .github/workflows/wheels-pillow_heif.yml | 3 +++ 4 files changed, 15 insertions(+) diff --git a/.github/workflows/analysis-coverage.yml b/.github/workflows/analysis-coverage.yml index b42a333b..032f88fb 100644 --- a/.github/workflows/analysis-coverage.yml +++ b/.github/workflows/analysis-coverage.yml @@ -180,6 +180,9 @@ jobs: with: python-version: '3.11' + - name: Workaround for pkg-config + run: brew link --overwrite pkgconf + - name: Install from source run: | brew install --formula ./libheif/macos/libheif.rb diff --git a/.github/workflows/test-src-build-macos.yml b/.github/workflows/test-src-build-macos.yml index dc34136b..4f2a7be5 100644 --- a/.github/workflows/test-src-build-macos.yml +++ b/.github/workflows/test-src-build-macos.yml @@ -65,6 +65,9 @@ jobs: with: python-version: '3.12' + - name: Workaround for pkg-config + run: brew link --overwrite pkgconf + - name: Install libheif from formula run: | brew uninstall --force --ignore-dependencies imagemagick libheif @@ -121,6 +124,9 @@ jobs: with: python-version: '3.12' + - name: Workaround for pkg-config + run: brew link --overwrite pkgconf + - name: Transform to Pi-Heif run: | cp -r -v ./pi-heif/* . diff --git a/.github/workflows/wheels-pi_heif.yml b/.github/workflows/wheels-pi_heif.yml index 649e35a9..12e93c8d 100644 --- a/.github/workflows/wheels-pi_heif.yml +++ b/.github/workflows/wheels-pi_heif.yml @@ -20,6 +20,9 @@ jobs: cp -r -v ./pi-heif/* . python3 .github/transform_to-pi_heif.py + - name: Workaround for pkg-config + run: brew link --overwrite pkgconf + - name: Install libheif from formula run: | brew uninstall --force --ignore-dependencies imagemagick libheif x265 aom diff --git a/.github/workflows/wheels-pillow_heif.yml b/.github/workflows/wheels-pillow_heif.yml index 0e41fc33..71a203cd 100644 --- a/.github/workflows/wheels-pillow_heif.yml +++ b/.github/workflows/wheels-pillow_heif.yml @@ -14,6 +14,9 @@ jobs: with: python-version: '3.12' + - name: Workaround for pkg-config + run: brew link --overwrite pkgconf + - name: Install libheif from formula run: | brew uninstall --force --ignore-dependencies imagemagick libheif