Skip to content

Commit e4b386e

Browse files
committed
CI: Remove Strawberry Perl pkg-config
1 parent 7b5cd5c commit e4b386e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/mingw.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@ jobs:
7070
with:
7171
ruby-version: '3.2'
7272

73+
- name: Remove Strawberry Perl pkg-config
74+
working-directory:
75+
# `pkg-config.bat` included in Strawberry Perl is written in
76+
# Perl and doesn't work when another msys2 `perl` precede its
77+
# own `perl`.
78+
#
79+
# ```
80+
# Can't find C:\Strawberry\perl\bin\pkg-config.bat on PATH, '.' not in PATH.
81+
# ```
82+
run: |
83+
Get-Command pkg-config.bat | % { ren $_.path ($_.path + "~") }
84+
shell: pwsh
85+
7386
- name: Misc system & package info
7487
working-directory:
7588
run: |

0 commit comments

Comments
 (0)