You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/CI-mingw.yml
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -11,27 +11,29 @@ permissions:
11
11
12
12
defaults:
13
13
run:
14
-
shell: cmd
14
+
shell: msys2 {0}
15
15
16
16
jobs:
17
17
build_mingw:
18
18
strategy:
19
19
matrix:
20
-
os: [windows-2019] # fails to download with "windows-2022"
21
-
arch: [x64] # TODO: fix x86 build?
20
+
# the MinGW installation in windows-2019 is supposed to be 8.1 but it is 12.2
21
+
# the MinGW installation in windows-2022 is not including all necessary packages by default so use the older one instead
22
+
# TODO: add 32-bit build?
23
+
os: [windows-2019]
22
24
fail-fast: false
23
25
24
26
runs-on: ${{ matrix.os }}
25
27
26
28
steps:
27
29
- uses: actions/checkout@v2
28
30
29
-
- name: Set up MinGW
30
-
uses: egor-tensin/setup-mingw@v2
31
+
- name: Set up MSYS2
32
+
uses: msys2/setup-msys2@v2
31
33
with:
32
-
platform: ${{ matrix.arch }}
34
+
release: false # use pre-installed
33
35
34
36
# MinGW will always link the binaries even if they already exist. The linking is also extremely slow. So just run the "check" target which includes all the binaries.
0 commit comments