Skip to content

Commit 5346ef9

Browse files
committed
fixup! ci(windows/gnu): install mingw via msys2/setup-msys2
1 parent e62d0da commit 5346ef9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/ci.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
run: |
6767
echo "C:\msys64\usr\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
6868
echo "C:\msys64\${{ matrix.mingwdir }}\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
69+
where x86_64-w64-mingw32-gcc
70+
where i686-w64-mingw32-gcc
6971
- name: Set PATH
7072
run: |
7173
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
@@ -206,6 +208,8 @@ jobs:
206208
run: |
207209
echo "C:\msys64\usr\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
208210
echo "C:\msys64\${{ matrix.mingwdir }}\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
211+
where x86_64-w64-mingw32-gcc
212+
where i686-w64-mingw32-gcc
209213
- name: Set PATH
210214
run: |
211215
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
@@ -350,6 +354,8 @@ jobs:
350354
run: |
351355
echo "C:\msys64\usr\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
352356
echo "C:\msys64\${{ matrix.mingwdir }}\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
357+
where x86_64-w64-mingw32-gcc
358+
where i686-w64-mingw32-gcc
353359
- name: Set PATH
354360
run: |
355361
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8

ci/actions-templates/windows-builds-template.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs: # skip-master skip-pr skip-stable
5858
run: |
5959
echo "C:\msys64\usr\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
6060
echo "C:\msys64\${{ matrix.mingwdir }}\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
61+
where x86_64-w64-mingw32-gcc
62+
where i686-w64-mingw32-gcc
6163
- name: Set PATH
6264
run: |
6365
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8

0 commit comments

Comments
 (0)