Skip to content

Commit 2d2ed4c

Browse files
committed
Uninstall pre-existing pkg-config.
1 parent d698f0f commit 2d2ed4c

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
@@ -139,10 +139,14 @@ jobs:
139139
if: inputs.cmake_generator == 'Ninja'
140140
uses: seanmiddleditch/gha-setup-ninja@v4
141141

142+
# Remove pre-installed legacy pkg-config package.
143+
# See https://github.com/actions/runner-images/issues/10984
144+
# and https://github.com/dotnet/runtime/pull/109968
142145
- name: 'Brew setup on macOS' # x-ref c8e49ba8f8b9ce
143146
if: ${{ startsWith(matrix.os, 'macos-') == true }}
144147
run: |
145148
set -e pipefail
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
@@ -83,8 +83,13 @@ jobs:
8383
- name: Checkout TileDB
8484
# v4 uses node 20 which is incompatible with the libc version of the manylinux image
8585
uses: actions/checkout@v3
86+
# Remove pre-installed legacy pkg-config package.
87+
# See https://github.com/actions/runner-images/issues/10984
88+
# and https://github.com/dotnet/runtime/pull/109968
8689
- name: 'Homebrew setup'
87-
run: brew install automake pkgconf ninja
90+
run: |
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
@@ -20,8 +20,13 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v3
2222

23+
# Remove pre-installed legacy pkg-config package.
24+
# See https://github.com/actions/runner-images/issues/10984
25+
# and https://github.com/dotnet/runtime/pull/109968
2326
- name: 'Homebrew setup'
24-
run: brew install automake pkgconf
27+
run: |
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)