Skip to content

Commit

Permalink
CI: Update mingw toolchain on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
gyscos committed Mar 9, 2022
1 parent 3a6c7fa commit bd8e349
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/windows.yml
Expand Up @@ -39,12 +39,21 @@ jobs:
- name: Add mingw32 to path for i686-gnu
run: |
echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
echo "C:\msys64\usr\bin" >> $GITHUB_PATH
if: matrix.target == 'i686-pc-windows-gnu'
shell: bash
- name: Add mingw64 to path for x86_64-gnu
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
run: |
echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
echo "C:\msys64\usr\bin" >> $GITHUB_PATH
if: matrix.target == 'x86_64-pc-windows-gnu'
shell: bash
- name: Update gcc
if: matrix.target == 'x86_64-pc-windows-gnu'
run: pacman.exe -Syu --noconfirm mingw-w64-x86_64-toolchain
- name: Update gcc
if: matrix.target == 'i686-pc-windows-gnu'
run: pacman.exe -Syu --noconfirm mingw-w64-i686-toolchain

- name: Build
run: cargo build --verbose
Expand Down

0 comments on commit bd8e349

Please sign in to comment.