From ae4448c6eb811098f1cf1acdeee7aff0e8affa40 Mon Sep 17 00:00:00 2001 From: levoncrypto Date: Mon, 25 Nov 2024 13:43:26 +0400 Subject: [PATCH] Fix mac action build --- .github/workflows/ci-master.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 3470e82800..0413f679d0 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -174,7 +174,14 @@ jobs: - name: Use Xcode instead of Command Line Tools run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer - name: Install Required Packages - run: brew install automake coreutils python-setuptools + run: | + if ! command -v pkg-config &> /dev/null; then + echo "pkg-config not found, installing..." + brew install pkg-config + else + echo "pkg-config is already installed" + fi + brew install automake coreutils python-setuptools # Workaround for macOS: https://github.com/actions/runner/issues/2958 - name: Install setuptools run: sudo -H pip install setuptools