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
Enable test coverage reporting in Windows CI builds
Squashed commit of the following:
commit 9c4a820
Merge: 44cf126832befa
Author: Paul Colby <git@colby.id.au>
Date: Mon Oct 14 18:05:37 2024 +1100
Merge branch 'main' into windows-coverage
commit 44cf126
Author: Paul Colby <git@colby.id.au>
Date: Mon Oct 14 18:04:22 2024 +1100
Convert line endings from DOS to Unix
commit 516ba8c
Author: Paul Colby <git@colby.id.au>
Date: Mon Oct 14 18:00:00 2024 +1100
Update source code paths from Windows tracefiles to match Linux.
commit 40fc34b
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:57:41 2024 +1100
Reinstate Linux and macOS builds
commit ce8986d
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:53:07 2024 +1100
Reinstate the other Windows CI builds
commit 97077c9
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:51:50 2024 +1100
Escape `\` chars
commit 349e2dc
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:49:25 2024 +1100
Clean-up the coverage.info file
commit 6fc37fe
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:47:33 2024 +1100
Upload test artifacts if they exist
commit 8ca602c
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:47:12 2024 +1100
Build, and test, separate coverage and release configs
commit f2c2f8a
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:44:21 2024 +1100
A litte more tidy-up
commit 53c6bc6
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:39:44 2024 +1100
Is the order important?
commit 956e2ad
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:39:42 2024 +1100
CMake should detect lcov fine
Since we're forced to add lcov's bin dir to the path anyway.
commit fccb73a
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:37:50 2024 +1100
Tidy up a little
commit 7ee5376
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:37:46 2024 +1100
Validate path assumption
commit e7cd26d
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:35:04 2024 +1100
Bring the C:\msys64\usr\bin path back
commit 93b28b1
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:32:28 2024 +1100
Skip version for now
commit df43c64
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:31:13 2024 +1100
Provide full path to pacman
If we're not adding it to the path.
commit a87cbd9
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:31:09 2024 +1100
Formalise the building of the path variable
commit 791229c
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:30:07 2024 +1100
Use correct path separators
commit 1e700ef
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:26:23 2024 +1100
Get lcov version under Bash
commit 8da6ab9
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:26:10 2024 +1100
Avoid polluting the path with msys2's mingw64 bin
It's only needed (hopefully) for lcov. Though might be necessary
for lcov to find geninfo?
commit b7bb11a
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:21:59 2024 +1100
Use GH's mingw32
commit 68a3336
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:21:42 2024 +1100
See what else exists at the root
commit 61138b2
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:17:06 2024 +1100
Correct path to non-Qt gcov
commit d42f285
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:12:19 2024 +1100
Fetch the version
commit 78cd274
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:11:23 2024 +1100
Explore where gcov.exe really is installed
commit e44ee07
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:08:47 2024 +1100
Add missing `<var>:<type>` separator
commit 8ff307a
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:07:17 2024 +1100
Drop the erroneous .exe extension
commit 60e25fe
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:05:39 2024 +1100
Correct the path to msys gcov
commit 049fb84
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 23:02:07 2024 +1100
Override gcov for x86 (32-bit) only
commit 3b0acf6
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:58:09 2024 +1100
Correct matrix variable name
commit ab43aba
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:57:39 2024 +1100
Correct Workflow variable name
commit dcd8cee
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:53:08 2024 +1100
Choose between two gcov's
commit fe6a4f0
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:48:20 2024 +1100
Always use msys2's gcov
Just for an initial test.
commit cf1a046
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:46:36 2024 +1100
Override gcov on 32-bit systems
commit 3f87d92
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:43:10 2024 +1100
Disable all non-mingw builds for now
commit 5fd8a71
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:40:22 2024 +1100
Specify the gcov tool
commit 7825dad
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:35:38 2024 +1100
Try using Bash
commit 37be7bb
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:30:06 2024 +1100
Use the right env syntax
commit 422bdc8
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:19:56 2024 +1100
Let's see if Bash is any better
commit f92f35b
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:15:03 2024 +1100
See where it installed
commit 051bfc7
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:11:49 2024 +1100
Try the full path
commit 0d33590
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:09:59 2024 +1100
Correct path
commit d8e9ee4
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:07:19 2024 +1100
Remove erroneous quote
commit 27e75ab
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:06:11 2024 +1100
Unrwap syntax
commit 15534d6
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 22:04:19 2024 +1100
Include both bin dirs
commit bc18773
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:59:50 2024 +1100
Let's look at the path
commit c728246
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:58:20 2024 +1100
Correct Bash syntax
commit 439e927
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:57:06 2024 +1100
Use Bash to set the path properly
commit a4855b2
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:43:34 2024 +1100
Try running lcov directly
commit 82ca206
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:21:37 2024 +1100
Quotes are getting in the way
commit 4f29eca
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:14:59 2024 +1100
Use the correct quotes for Windows cmd
commit f280868
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:06:49 2024 +1100
Print the path in a step that actually runs ;)
commit 19c12e3
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 21:02:12 2024 +1100
Revert to GH's MSYS2
commit bb4e852
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 20:55:16 2024 +1100
See which, if not both, is not found
commit 3025521
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 20:48:27 2024 +1100
Use msys2/setup-msys2@v2 action
commit 8f2836e
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 20:38:08 2024 +1100
Add msys to the path
commit 1b8173f
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 20:10:09 2024 +1100
Look for geninfo in msys
commit ea0cbfe
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 19:57:14 2024 +1100
Have a look for geninfo
commit befae39
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 19:45:27 2024 +1100
Set the gcov path
commit 35b372a
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 19:16:06 2024 +1100
Revert some temp changes
commit 2d8ea71
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 18:44:57 2024 +1100
Switch back to Bash
commit dc5bf99
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 18:37:40 2024 +1100
Try the msys2 shell
commit ae7ec73
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 18:29:38 2024 +1100
Try 'regular' bash
commit e474fec
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 18:19:51 2024 +1100
Try the msys2 shell
commit fb1146f
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 18:12:50 2024 +1100
Try out a more explicit dir
commit 73ddf7f
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 17:48:24 2024 +1100
Get some verbose output from the coverage step
commit d1bddce
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 17:39:52 2024 +1100
Use the right running dir
commit 70295e4
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 17:31:38 2024 +1100
Correct variable access
commit 2b2d903
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 17:27:25 2024 +1100
See if gcda files were generated
commit a9f84ec
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 17:22:12 2024 +1100
Only enable test coverage for non-MSVC chains
commit d694df0
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 17:11:49 2024 +1100
Tell CMake when the msys lcov is
commit 404c4d7
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 17:03:16 2024 +1100
Find the installed lcov
commit 04a7cc1
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 16:57:25 2024 +1100
Skip the confirm prompt
commit d93a49c
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 16:52:11 2024 +1100
Install lcov
commit 16d8661
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 16:46:13 2024 +1100
Use path to pacman
commit 264eaf8
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 16:32:20 2024 +1100
Look for lcov packages
commit 25db4a3
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 16:13:12 2024 +1100
Verify if gcov is really in the path
commit 4a747f9
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 15:37:11 2024 +1100
Use Windows style path separators
commit 4e211bb
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 15:30:50 2024 +1100
Check *after* Qt is installed
commit 9310c73
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 15:28:06 2024 +1100
Look for gcov in Qt's MinGW
commit 1711c4e
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 15:12:50 2024 +1100
Bypass `dir` temporarily
commit dd896de
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 15:09:23 2024 +1100
Look for `.exe` versions too
commit 0663d07
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 14:43:47 2024 +1100
Use the correct command
commit 907ed38
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 14:41:58 2024 +1100
Correct Windows cmd syntax
commit c0bdd85
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 14:19:15 2024 +1100
Look for lcov
commit 3233381
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 14:01:34 2024 +1100
Correct Windows `cmd` syntax
commit 057d295
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 13:53:20 2024 +1100
Try collating test coverage
Knowing full well it will fail for MSVC builds.
commit bf341b5
Author: Paul Colby <git@colby.id.au>
Date: Sun Oct 13 13:07:55 2024 +1100
Experiment with enabling coverage on Windows
(this will fail... at least initially)
0 commit comments