Skip to content

Commit 8321f47

Browse files
committed
Uninstall pre-existing pkg-config.
1 parent d698f0f commit 8321f47

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/ci-linux_mac.yml

+4
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ jobs:
143143
if: ${{ startsWith(matrix.os, 'macos-') == true }}
144144
run: |
145145
set -e pipefail
146+
# Remove pre-installed legacy pkg-config package.
147+
# See https://github.com/actions/runner-images/issues/10984
148+
# and https://github.com/dotnet/runtime/pull/109968
149+
brew uninstall --ignore-dependencies --force [email protected]
146150
brew install automake pkgconf
147151
148152
- name: 'Configure libtiledb'

.github/workflows/release.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ jobs:
8484
# v4 uses node 20 which is incompatible with the libc version of the manylinux image
8585
uses: actions/checkout@v3
8686
- name: 'Homebrew setup'
87-
run: brew install automake pkgconf ninja
87+
run: |
88+
# Remove pre-installed legacy pkg-config package.
89+
# See https://github.com/actions/runner-images/issues/10984
90+
# and https://github.com/dotnet/runtime/pull/109968
91+
brew uninstall --ignore-dependencies --force [email protected]
92+
brew install automake pkgconf ninja
8893
if: ${{ startsWith(matrix.os, 'macos-') == true }}
8994
- name: Export GitHub Actions cache variables
9095
uses: actions/github-script@v6

.github/workflows/unit-test-runs.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ jobs:
2121
- uses: actions/checkout@v3
2222

2323
- name: 'Homebrew setup'
24-
run: brew install automake pkgconf
24+
run: |
25+
# Remove pre-installed legacy pkg-config package.
26+
# See https://github.com/actions/runner-images/issues/10984
27+
# and https://github.com/dotnet/runtime/pull/109968
28+
brew uninstall --ignore-dependencies --force [email protected]
29+
brew install automake pkgconf
2530
if: ${{ startsWith(matrix.os, 'macos-') }}
2631

2732
- name: Install Ninja

0 commit comments

Comments
 (0)