summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-08-08 20:52:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2025-08-09 01:02:34 +0900
commite4b386e090f00a6690511f2d14aff5fa7b80328d (patch)
treec1c1f5123c2db531dd183a73f7570a4d4e6be90a
parent7b5cd5ce15c0e0f5828b3e9ea07e59c306600066 (diff)
CI: Remove Strawberry Perl pkg-config
-rw-r--r--.github/workflows/mingw.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml
index 7f8d05a634..ce53e33aae 100644
--- a/.github/workflows/mingw.yml
+++ b/.github/workflows/mingw.yml
@@ -70,6 +70,19 @@ jobs:
with:
ruby-version: '3.2'
+ - name: Remove Strawberry Perl pkg-config
+ working-directory:
+ # `pkg-config.bat` included in Strawberry Perl is written in
+ # Perl and doesn't work when another msys2 `perl` precede its
+ # own `perl`.
+ #
+ # ```
+ # Can't find C:\Strawberry\perl\bin\pkg-config.bat on PATH, '.' not in PATH.
+ # ```
+ run: |
+ Get-Command pkg-config.bat | % { ren $_.path ($_.path + "~") }
+ shell: pwsh
+
- name: Misc system & package info
working-directory:
run: |