Skip to content

Commit 6a05de5

Browse files
committed
CI-mingw.yml: split up steps for more granular timing information
1 parent c64bb01 commit 6a05de5

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/CI-mingw.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,23 @@ jobs:
4747
with:
4848
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
4949

50-
# 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.
51-
- name: Build all and run test
50+
- name: Build cppcheck
51+
run: |
52+
export PATH="/mingw64/lib/ccache/bin:$PATH"
53+
# set RDYNAMIC to work around broken MinGW detection
54+
make VERBOSE=1 RDYNAMIC=-lshlwapi -j2 cppcheck
55+
env:
56+
LDFLAGS: -fuse-ld=lld # use lld for faster linking
57+
58+
- name: Build test
59+
run: |
60+
export PATH="/mingw64/lib/ccache/bin:$PATH"
61+
# set RDYNAMIC to work around broken MinGW detection
62+
make VERBOSE=1 RDYNAMIC=-lshlwapi -j2 testrunner
63+
env:
64+
LDFLAGS: -fuse-ld=lld # use lld for faster linking
65+
66+
- name: Run test
5267
run: |
5368
export PATH="/mingw64/lib/ccache/bin:$PATH"
5469
# set RDYNAMIC to work around broken MinGW detection

0 commit comments

Comments
 (0)