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-cygwin.yml
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ jobs:
14
14
build_cygwin:
15
15
strategy:
16
16
matrix:
17
-
os: [windows-2019]
17
+
os: [windows-2022]
18
18
arch: [x64, x86]
19
19
include:
20
20
- platform: 'x86_64'
@@ -33,15 +33,8 @@ jobs:
33
33
platform: ${{ matrix.arch }}
34
34
packages: ${{ matrix.packages }}
35
35
36
-
- name: Build cppcheck
37
-
run: |
38
-
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2
39
-
40
-
- name: Build test
41
-
run: |
42
-
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2 testrunner
43
-
44
-
- name: Run test
36
+
# Cygwin 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.
37
+
- name: Build all and run test
45
38
run: |
46
39
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2 check
Copy file name to clipboardExpand all lines: .github/workflows/CI-mingw.yml
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ jobs:
14
14
build_mingw:
15
15
strategy:
16
16
matrix:
17
-
os: [windows-2019]
17
+
os: [windows-2019]# fails to download with "windows-2022"
18
18
arch: [x64] # TODO: fix x86 build?
19
19
fail-fast: false
20
20
@@ -28,14 +28,7 @@ jobs:
28
28
with:
29
29
platform: ${{ matrix.arch }}
30
30
31
-
- name: Build cppcheck
32
-
run: |
33
-
mingw32-make -j2
34
-
35
-
- name: Build test
36
-
run: |
37
-
mingw32-make -j2 testrunner
38
-
39
-
- name: Run test
31
+
# 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