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
# only use the latest windows-* as the installed toolchain is identical
28
+
os: [windows-2025]
29
+
platform: [x86_64]
30
+
include:
31
+
- platform: 'x86_64'
32
+
packages: |
33
+
gcc-g++
34
+
python3
19
35
fail-fast: false
20
36
21
37
runs-on: ${{ matrix.os }}
22
38
23
39
steps:
24
-
- uses: actions/checkout@v2
40
+
- uses: actions/checkout@v4
41
+
with:
42
+
persist-credentials: false
25
43
26
44
- name: Set up Cygwin
27
-
uses: egor-tensin/setup-cygwin@v3
45
+
uses: cygwin/cygwin-install-action@v6
28
46
with:
29
-
platform: ${{ matrix.arch }}
30
-
31
-
- name: Build cppcheck
32
-
run: |
33
-
C:\tools\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2
34
-
35
-
- name: Build test
36
-
run: |
37
-
C:\tools\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2 testrunner
47
+
site: https://mirrors.cicku.me/cygwin/
48
+
platform: ${{ matrix.platform }}
49
+
packages: ${{ matrix.packages }}
38
50
39
-
- name: Run test
51
+
# 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.
52
+
- name: Build all and run test
40
53
run: |
41
-
C:\tools\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make -j2 check
54
+
C:\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE% && make VERBOSE=1 -j%NUMBER_OF_PROCESSORS% CXXOPTS="-Werror" test
42
55
43
56
- name: Extra test for misra
44
57
run: |
45
-
C:\tools\cygwin\bin\bash.exe -l -c cd %GITHUB_WORKSPACE%\addons\test
# only use the latest windows-* as the installed toolchain is identical
28
+
os: [windows-2025]
19
29
fail-fast: false
20
30
21
31
runs-on: ${{ matrix.os }}
22
32
33
+
timeout-minutes: 19# max + 3*std of the last 7K runs
34
+
23
35
steps:
24
-
- uses: actions/checkout@v2
36
+
- uses: actions/checkout@v4
37
+
with:
38
+
persist-credentials: false
39
+
40
+
- name: Set up MSYS2
41
+
uses: msys2/setup-msys2@v2
42
+
with:
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