From fda72ecb6d7a6233e871bbf6dd421b8e2d3de930 Mon Sep 17 00:00:00 2001 From: Seth Shelnutt Date: Fri, 17 Feb 2023 08:51:10 -0500 Subject: [PATCH] Install pkg-config for MacOS release CI The github actions/azure devops MacOS image update `20230214.1` removed an implicit installation of pkg-config. This works around the issue but installing pkg-config from brew. This can be removed if the CI images get an explicit install of pkg-config, i.e https://github.com/actions/runner-images/pull/7125 . --- scripts/azure-linux_mac-release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/azure-linux_mac-release.yml b/scripts/azure-linux_mac-release.yml index 3d5dd681f7e..fe0c43b19fe 100755 --- a/scripts/azure-linux_mac-release.yml +++ b/scripts/azure-linux_mac-release.yml @@ -9,6 +9,14 @@ steps: printenv displayName: 'Print env' +- bash: | + # This stage is needed until https://github.com/actions/runner-images/pull/7125 or similar is merged + # MacOS image 20230214.1 removed implicit installation of pkg-config + set -e pipefail + brew install pkg-config + condition: eq(variables['Agent.OS'], 'Darwin') + displayName: 'Install brew package for pkg-config (OSX only)' + - bash: | set -e pipefail brew uninstall --ignore-dependencies libidn2 brotli rtmpdump