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
+
fail-fast: false
30
+
31
+
runs-on: ${{ matrix.os }}
32
+
33
+
timeout-minutes: 19# max + 3*std of the last 7K runs
34
+
35
+
steps:
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."
45
+
install: >-
46
+
mingw-w64-x86_64-lld
47
+
make
48
+
mingw-w64-x86_64-gcc
49
+
python
50
+
51
+
- name: Build cppcheck
52
+
run: |
53
+
export PATH="/mingw64/lib/ccache/bin:$PATH"
54
+
# set RDYNAMIC to work around broken MinGW detection
55
+
make VERBOSE=1 RDYNAMIC=-lshlwapi -j$(nproc) CXXFLAGS=-O2 MATCHCOMPILER=yes cppcheck
0 commit comments