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
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,13 @@ defaults:
20
20
shell: cmd
21
21
22
22
jobs:
23
+
# TODO: add CMake build
23
24
build_cygwin:
24
25
strategy:
25
26
matrix:
26
-
os: [windows-2022]
27
-
arch: [x64]
27
+
# only use the latest windows-* as the installed toolchain is identical
28
+
os: [windows-2025]
29
+
platform: [x86_64]
28
30
include:
29
31
- platform: 'x86_64'
30
32
packages: |
@@ -42,13 +44,13 @@ jobs:
42
44
- name: Set up Cygwin
43
45
uses: cygwin/cygwin-install-action@master
44
46
with:
45
-
platform: ${{ matrix.arch }}
47
+
platform: ${{ matrix.platform }}
46
48
packages: ${{ matrix.packages }}
47
49
48
50
# 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.
49
51
- name: Build all and run test
50
52
run: |
51
-
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make VERBOSE=1 -j2 check
53
+
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make VERBOSE=1 -j%NUMBER_OF_PROCESSORS% CXXOPTS="-Werror" test
Copy file name to clipboardExpand all lines: .github/workflows/CI-mingw.yml
+14-13Lines changed: 14 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,18 @@ defaults:
20
20
shell: msys2 {0}
21
21
22
22
jobs:
23
+
# TODO: add CMake build
23
24
build_mingw:
24
25
strategy:
25
26
matrix:
26
-
# the MinGW installation in windows-2019 is supposed to be 8.1 but it is 12.2
27
-
# the MinGW installation in windows-2022 is not including all necessary packages by default, so just use the older image instead - package versions are he same
28
-
os: [windows-2019]
27
+
# only use the latest windows-* as the installed toolchain is identical
28
+
os: [windows-2025]
29
29
fail-fast: false
30
30
31
31
runs-on: ${{ matrix.os }}
32
32
33
+
timeout-minutes: 19# max + 3*std of the last 7K runs
34
+
33
35
steps:
34
36
- uses: actions/checkout@v4
35
37
with:
@@ -39,36 +41,35 @@ jobs:
39
41
uses: msys2/setup-msys2@v2
40
42
with:
41
43
release: false # use pre-installed
44
+
# TODO: install mingw-w64-x86_64-make and use mingw32.make instead - currently fails with "Windows Subsystem for Linux has no installed distributions."
0 commit comments