mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
ci: fix linking issue on windows gnu jobs
This commit is contained in:
committed by
Caleb Cartwright
parent
acd94866fd
commit
d8e0d00377
@@ -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: [
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user