-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1e2731
commit 62e6dbd
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,7 @@ jobs: | |
runs-on: "${{ matrix.os }}" | ||
defaults: | ||
run: | ||
shell: ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }} | ||
shell: 'bash' | ||
timeout-minutes: 600 | ||
env: | ||
CI_JOB_NAME: ${{ matrix.image }} | ||
|
@@ -80,6 +80,22 @@ jobs: | |
# Check the `calculate_matrix` job to see how is the matrix defined. | ||
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }} | ||
steps: | ||
- if: contains(matrix.os, 'windows') && contains(matrix.name, 'msvc') | ||
uses: msys2/[email protected] | ||
with: | ||
# i686 jobs use mingw32. x86_64 and cross-compile jobs use mingw64. | ||
msystem: ${{ contains(matrix.name, 'i686') && 'mingw32' || 'mingw64' }} | ||
# don't try to download updates for already installed packages | ||
update: false | ||
# don't try to use the msys that comes built-in to the github runner, | ||
# so we can control what is installed (i.e. not python) | ||
release: true | ||
# Inherit the full path from the Windows environment, with MSYS2's */bin/ | ||
# dirs placed in front. This lets us run Windows-native Python etc. | ||
path-type: inherit | ||
install: > | ||
make | ||
- name: disable git crlf conversion | ||
run: git config --global core.autocrlf false | ||
|
||
|