-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI improvements #14
CI improvements #14
Commits on Mar 4, 2024
-
refactor: adapt to Wrapland subsurface change
Now uses references instead of QPointer.
Configuration menu - View commit details
-
Copy full SHA for 1f80f9d - Browse repository at this point
Copy the full SHA 1f80f9dView commit details -
Add infrastructure and a CI job to run the static analysis tool clang-tidy. For now we only enable two checks. The goal is to progressively enable more checks until we at least cover all the default checks. For now the ci job is stopping short of actually running clang-tidy though because the GitHub Actions runner consistently terminate likely due to oom. Locally clang-tidy can be run with the new Python script in tooling/analysis.
Configuration menu - View commit details
-
Copy full SHA for aef5e03 - Browse repository at this point
Copy the full SHA aef5e03View commit details -
fix: store event filters as raw pointers
Instead of using QPointers, which is marked by clang-tidy.
Configuration menu - View commit details
-
Copy full SHA for f8aaa97 - Browse repository at this point
Copy the full SHA f8aaa97View commit details -
fix: store implict grab without QPointer
The QPointer is marked by clang-tidy.
Configuration menu - View commit details
-
Copy full SHA for 53b917d - Browse repository at this point
Copy the full SHA 53b917dView commit details -
Instead of calling delete on a raw pointer.
Configuration menu - View commit details
-
Copy full SHA for 1c6f1ff - Browse repository at this point
Copy the full SHA 1c6f1ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for da0f032 - Browse repository at this point
Copy the full SHA da0f032View commit details -
refactor: replace Qt smart pointers with STL ones
This also fixes a clang-tidy warning about delete-after-free.
Configuration menu - View commit details
-
Copy full SHA for 272fcc5 - Browse repository at this point
Copy the full SHA 272fcc5View commit details -
fix: store window thumbnail item fields without QPointers
The QPointers are marked by clang-tidy as use-after-free.
Configuration menu - View commit details
-
Copy full SHA for 0387dbd - Browse repository at this point
Copy the full SHA 0387dbdView commit details -
fix: assert not dividing by zero
This was marked by clang-tidy. For now we just assume that we have the precondition that these values can't be zero and assert on it.
Configuration menu - View commit details
-
Copy full SHA for 3dcf097 - Browse repository at this point
Copy the full SHA 3dcf097View commit details -
fix(plugin): store internal window handle without QPointer
This was marked by clang-tidy.
Configuration menu - View commit details
-
Copy full SHA for 7a9bb23 - Browse repository at this point
Copy the full SHA 7a9bb23View commit details -
fix(plugin): store expo layout without QPointer
This was marked by clang-tidy.
Configuration menu - View commit details
-
Copy full SHA for a622b2e - Browse repository at this point
Copy the full SHA a622b2eView commit details -
test: get shadow as regular raw pointer
The QPointer is not needed here. Fixes a clang-tidy warning.
Configuration menu - View commit details
-
Copy full SHA for 99aa4ab - Browse repository at this point
Copy the full SHA 99aa4abView commit details -
ci: create test build with GCC
Instead of having a single clang/coverage build for all statid and dynamic analysis, adapt the CMake presets to have different presets for test builds with coverage using clang and gcc. We also directly switch the ci coverage build to the gcc preset. This allows to use gcc-only features in the coverage reporting.
Configuration menu - View commit details
-
Copy full SHA for 3b452ec - Browse repository at this point
Copy the full SHA 3b452ecView commit details -
ci: exclude throw branches when calculating coverage
Without the exclusion nearly everything is marked as partial hit only. See also [1][2]. [1] https://gcovr.com/en/5.0/faq.html#why-does-c-code-have-so-many-uncovered-branches [2] https://stackoverflow.com/q/42003783
Configuration menu - View commit details
-
Copy full SHA for 78885ca - Browse repository at this point
Copy the full SHA 78885caView commit details -
ci: ignore gcov no working dir found error
gcov executable is failing on finding Catch2 source, which is built via FetchContent. For now ignore the error. The coverage reporting seems to work anyway.
Configuration menu - View commit details
-
Copy full SHA for fc797a2 - Browse repository at this point
Copy the full SHA fc797a2View commit details -
ci: store coverage reports for standard retention period
The default retention duration for artifacts is 90 days with GitHub Actions. These reports are rather small in size. We may just store them for this period as they might be useful sometimes when comparing them to Codecov results.
Configuration menu - View commit details
-
Copy full SHA for aaa65fb - Browse repository at this point
Copy the full SHA aaa65fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8466129 - Browse repository at this point
Copy the full SHA 8466129View commit details -
The most recent release works again. The regresssion from gcovr 6, and why gcovr 5 was used, has been fixed.
Configuration menu - View commit details
-
Copy full SHA for 68107aa - Browse repository at this point
Copy the full SHA 68107aaView commit details