Skip to content

Commit

Permalink
ci: fix linking issue on windows gnu jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
calebcartwright committed Jan 1, 2021
1 parent 367a874 commit 9a19515
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
# In order to prevent overusing too much of that 60 limit, we throttle the
# number of rustfmt jobs that will run concurrently.
max-parallel: 1
max-parallel: 2
fail-fast: false
matrix:
target: [
Expand Down Expand Up @@ -50,6 +50,17 @@ jobs:
profile: minimal
default: true

- name: Add mingw32 to path for i686-gnu
run: |
echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
if: matrix.target == 'i686-pc-windows-gnu' && matrix.channel == 'nightly'
shell: bash

- name: Add mingw64 to path for x86_64-gnu
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
if: matrix.target == 'x86_64-pc-windows-gnu' && matrix.channel == 'nightly'
shell: bash

- name: cargo-make
run: cargo install --force cargo-make

Expand Down

0 comments on commit 9a19515

Please sign in to comment.