Skip to content

Commit f652d94

Browse files
committed
loc
1 parent fd86d16 commit f652d94

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ jobs:
210210
env:
211211
CARGO_HOME: ${{ github.workspace }}/.cache/cargo
212212
steps:
213+
- run: git config --global core.autocrlf input || true
213214
- uses: actions/checkout@v4
214215
with:
215216
submodules: 'recursive'
@@ -253,19 +254,16 @@ jobs:
253254
mingw-w64-i686-cmake
254255
mingw-w64-i686-ninja
255256
- name: Prepend 32-bit MinGW to PATH
256-
if: matrix.thing == 'i686-mingw'
257-
shell: bash
258-
run: |
259-
echo "/c/msys64/mingw32/bin" >> $GITHUB_PATH
260-
echo "/c/msys64/usr/bin" >> $GITHUB_PATH
261-
- name: Verify Compiler Location
262257
if: matrix.thing == 'i686-mingw'
263258
shell: bash
264259
env: ${{ matrix.custom_env }}
265260
run: |
261+
echo "${{ steps.msys2.outputs.msys2-location }}/mingw32/bin" >> $GITHUB_PATH
262+
echo "${{ steps.msys2.outputs.msys2-location }}/usr/bin" >> $GITHUB_PATH
266263
echo "$PATH"
267264
echo "$CC"
268-
ls -l "$CC" "$C_INCLUDE_PATH" "$LIBRARY_PATH" / /c/msys64 /c/msys64/mingw32/bin/ /c/msys64/mingw32 'C:/msys64' 'C:/msys64/mingw32' || true
265+
echo "mingw in ${{ steps.msys2.outputs.msys2-location }}"
266+
ls -l "$CC" "$C_INCLUDE_PATH" "$LIBRARY_PATH" / /c/msys64 /c/msys64/mingw32/bin/ /c/msys64/mingw32 'C:/msys64' 'C:/msys64/mingw32' '${{ steps.msys2.outputs.msys2-location }}' || true
269267
which gcc || echo no-gcc
270268
gcc --version || echo no-gcc
271269
"$CC" --version || echo no cc

0 commit comments

Comments
 (0)