Skip to content

Commit 9a19515

Browse files
ci: fix linking issue on windows gnu jobs
1 parent 367a874 commit 9a19515

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/windows.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.
1515
# In order to prevent overusing too much of that 60 limit, we throttle the
1616
# number of rustfmt jobs that will run concurrently.
17-
max-parallel: 1
17+
max-parallel: 2
1818
fail-fast: false
1919
matrix:
2020
target: [
@@ -50,6 +50,17 @@ jobs:
5050
profile: minimal
5151
default: true
5252

53+
- name: Add mingw32 to path for i686-gnu
54+
run: |
55+
echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
56+
if: matrix.target == 'i686-pc-windows-gnu' && matrix.channel == 'nightly'
57+
shell: bash
58+
59+
- name: Add mingw64 to path for x86_64-gnu
60+
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
61+
if: matrix.target == 'x86_64-pc-windows-gnu' && matrix.channel == 'nightly'
62+
shell: bash
63+
5364
- name: cargo-make
5465
run: cargo install --force cargo-make
5566

0 commit comments

Comments
 (0)