388 Commits

Author SHA1 Message Date
alef c2366db388 MSVC complains cl.exe used for both C and C++
C used to build third-party libs
2026-09-20 13:41:14 +02:00
Antti Riikonen adbc2d35d2 Run tests in CI for multiple sets of mods (#83242)
* Tests are run once for each mod set

* Remove the --mods from build matrix param and add it to test invocation

* Update .github/workflows/matrix.yml

* Update .github/workflows/matrix.yml

* Update .github/workflows/matrix.yml

* Update .github/workflows/matrix.yml

* In tests, eoc_selector cancels or selects 1st item

* Return a simpler lambda early instead if we're in test mode

* Update .github/workflows/matrix.yml

* Update .github/workflows/matrix.yml

* Update .github/workflows/matrix.yml

* Update .github/workflows/matrix.yml

* Add custom event send function support to check_memorial

* Fix npc_talk_test sender

* Fix stats_tracker_test sender

* astyle

* May it please the IWYU

* stats_tracker_count_events test: clean up any existing mobs before test

* stats_tracker_count_events test: well why don't we clean the whole map instead

* stats_tracker_count_events test: just nuke the world

* Apply suggestion from @Maleclypse

* Apply suggestion from @Maleclypse

* I guess spawn_test_monster lives in map_helpers_tests.h now

* Wy u iwyu

* Update matrix.yml

* Update matrix.yml

* More XE test fixes: golem weight, remove plantkin_parchment from known bad uncrafts

* Nutrition info and repair info tests use their own test items

* Appease clang-tidy

* Replace nether cult cabin headless corpse with headful due to mystery test failures

* Strix talons don't need NAILS as prerequisite

* Add Xedra field office to terrain coverage test whitelist

---------

Co-authored-by: Maleclypse <54345792+Maleclypse@users.noreply.github.com>
2026-08-26 19:54:43 -05:00
dobbry-vechur 4620790929 Drop the MXE SDL2 fetch and mark the cross-compile unsupported 2026-08-12 06:20:34 +04:00
dobbry-vechur 080986b032 Drop the SDL2 emscripten ports and mark the target unsupported 2026-08-12 06:16:51 +04:00
dobbry-vechur 47078fa795 Drop the SDL2 packages from the container images 2026-08-12 06:00:07 +04:00
dobbry-vechur e05e79b92f Remove the SDL3 build switch from CI and build scripts 2026-08-12 05:51:58 +04:00
dobbry-vechur b12efd156a Make SDL3 the default tiled build
- add shared SDL3 stack and shader actions
- move tiled CI jobs onto SDL3
- fold SDL3 release artifacts into default names
- keep SDL2 fallback flags for local builds
- update compiling docs for SDL3 defaults
2026-06-07 17:05:22 +04:00
dobbry-vechur dbe47695be Ship swappable LGPL mpg123 DLL on Windows SDL3
- force mpg123 vcpkg port to dynamic linkage in static triplet
- stage mpg123 family DLLs next to cataclysm-tiles.exe in windist
- stage mpg123 copyright as LICENSE-mpg123.txt
2026-06-05 20:59:35 +04:00
dobbry-vechur 5b58f07d02 Bundle and sign SDL3 stack in macOS app bundle
- add build-scripts/codesign-macos.sh nested Mach-O signer
- invoke codesign from dmgdist after plutil rewrite
- set macOS SDL_mixer to VENDORED=OFF with MacPorts universal codecs
- add mpg123 link-edge and bundled-dylib verification gates
- ship LICENSE files in DMG root via dmgsettings.py
2026-06-05 20:59:35 +04:00
dobbry-vechur fdade18e5a Bundle SDL3 closure into Linux bindist with rpath
- add build-scripts/bundle-sdl3-linux.sh closure walker and rpath patcher
- set LDFLAGS rpath $ORIGIN/lib and BUNDLE_SDL3_LINUX on Linux SDL3
- invoke bundle script from bindist target
- pin Linux SDL3 job to ubuntu-22.04 with clang-18 and patchelf
- prepend lib dir in cataclysm-launcher LD_LIBRARY_PATH
2026-06-05 19:55:56 +04:00
dumb-kevin 2cbb49f36c Upgrade vendored Dear ImGui to 1.92.8
- vendored upstream 1.92.8 sources, flattened backends/misc
- migrated CDDA call sites to renamed font, freetype, selectable, clipper APIs
- removed obsolete fallback-glyph callback subsystem from cata_imgui
- removed CLDR per-language glyph-range tables
- reapplied freetype include path patch in imgui_draw
- reapplied SDL2 Vulkan header guard
2026-05-20 18:28:59 +04:00
dumb-kevin cb8a36bf26 clang-tidy: re-enable cata-large-stack-object on LLVM 22
- guard cata-large-stack-object against null-deduced DTS
- define CATCH_CONFIG_NO_COUNTER for clang>=22 in tests cmake
- pass -Wno-unknown-warning-option and CATCH_CONFIG_NO_COUNTER via wrapper
2026-05-10 15:42:23 +04:00
dumb-kevin 835c7fbed6 build-scripts: clean up shellcheck findings in clang-tidy scripts
- quote BACKTRACE/LOCALIZE/TILES/SOUND/num_jobs/COMPILER expansions
- replace deprecated egrep with grep -E
- drop backticks-in-single-quotes from the example echo
2026-05-08 14:31:58 +04:00
dumb-kevin 7ac594994e build-scripts: parametrize clang-tidy scripts by LLVM version and build dir
- LLVM_VERSION (default 18) selects which clang-tidy / cmake config to use
- LLVM_PREFIX overrides the install root for non-Ubuntu layouts
- CATA_BUILD_DIR overrides the build directory across build, run, wrapper
- drop hardcoded /usr/lib/llvm-18 and build/ paths
2026-05-08 14:31:58 +04:00
Andrew Krieger 81de41307a Don't print 'X has correct #includes/fwd-decls' in iwyu workflow 2026-05-05 14:49:09 -07:00
akrieger 6b7c9c5bd1 Unify iwyu workflows, move comment posting to workflow_run instead of pull_request_target. 2026-05-03 08:36:55 -07:00
dumb-kevin b648e067c9 Fix duplicate mod lists in get_all_mods.py
- Subtract mod_interactions-covered mods from mods_remaining
- Remove no-op print_modlist call on empty mods_this_time
- Deduplicate output via frozenset comparison
2026-04-18 19:26:29 +04:00
dumb-kevin efe7bbf055 Use suggestion blocks for IWYU review comments
- Replace reviewdog/action-suggester with PyGithub suggestion comments
- Each diff hunk gets a review comment with a suggestion block
- Suggestions work on any line, not just lines in the PR diff context
- Stale comments cleaned up on re-push

Fixes #85660
2026-03-04 21:41:35 +04:00
dumb-kevin 26ad76b03a Add consistency checks for dangling references and fix existing ones
Validate EOC string references, item repairs_like / source_monster /
cooks_like / smoking_result / rot_spawn, summon spells with zero
duration, profession CBM-without-interface, and start_location
om_terrain references.  Fix looks_like pointing at removed
power_armor_basic / knife_butcher, and use PREFIX match for
urban_library variants.  Add recipe cycle test for craft/uncraft
exploits.
2026-03-02 13:41:46 +04:00
dumb-kevin 9ccdc470ba Add IWYU suggester workflow with reviewdog
Add a new GHA workflow that posts click-to-apply suggested changes
for IWYU issues on PRs, similar to how the astyle linter works.

The workflow runs IWYU on changed files, pipes output through
fix_includes.py to apply fixes in-place, then uses
reviewdog/action-suggester to post the diffs as suggestions.

Includes a deliberate unused include in weather_type.cpp to
verify the workflow works.
2026-02-25 09:19:45 +04:00
salartarium 2dd7e400fa Merge pull request #85034 from salartarium/patches
Fix typos in code and comments
2026-01-30 21:50:41 -06:00
alef 24aa7baf7d Apply /bigobj to mapgen.cpp only 2026-01-06 21:52:23 +01:00
salartarium 2a178551e4 Fix repeat words and typos (#84290) 2025-12-25 12:10:38 +01:00
Tess Rosania c7dbaf7e20 [cmake] honor $VCPKG_ROOT from env (#83003) 2025-09-23 07:33:25 -07:00
ehughsbaird 7d48da4f18 Get mods lists in length order
This means that more mods will be tested sooner, exposing errors faster.
2025-08-27 12:28:11 +00:00
Andrew Krieger 800c2d7c62 zzip.exe: a tool for manipulating zzip files. 2025-08-02 18:18:35 -07:00
Procyonae ed9243deeb 0.I -> 0.J 2025-07-09 23:26:06 +01:00
ehughsbaird 1b99ac0322 Don't test obsolete mods
If a mod had interactions with an obsolete mod, the obsolete mod would
be run on the tests. I believe that obsolete mods are meant to be left
to bit-rot, so this is incorrect behavior.
2025-06-22 21:49:04 +00:00
RenechCDDA 2b55f19433 Remove hardcoded reference to aftershock in test suite (#81398) 2025-06-22 08:16:46 -07:00
mqrause 0de25dc686 handle conflicts field when generating mod combinations 2025-04-09 12:08:03 +02:00
Maleclypse 62bd662966 Add a modinfo conflicts field and prevent Iso Protocol and GG from testing together (#80465)
* Update mod_manager.cpp

* Update mod_manager.h

* Update modinfo.json

* Also make sure Iso and GG don't test together
2025-04-06 10:32:24 +02:00
moxian b408f39161 Add android build to the CI matrix (#80212) 2025-03-19 07:45:12 +01:00
moxian b0f45803d9 Move IWYU ci script to python 2025-03-09 04:25:50 -07:00
Anton Simakov 987e23e1b7 remove --reporter cata-ci-reporter 2025-02-25 09:14:08 +01:00
Anton Simakov 981a7e1513 Merge pull request #79681 from moxian/pretty-test
Make test logging a bit more verbose by adding current test name
2025-02-18 07:46:17 +01:00
moxian 230d672a34 Only run IWYU on affected files + minor get_affected_files.py refactor (#79690)
* Refactor get_affected_files.py slightly

Changes:
- It now uses argparse for argument parsing, making its configuration
  somewhat more flexible
- It can determine the list of changed files on its own, and does
  not need to have it passed explicitly (used for local testing,
  not so much for CI)
- It sorts the output, putting the directly changed files (if any) at
  the top of the list. The hope is that this decreases the feedback
  latency ever so slightly.

* Only run IWYU on potentially affected files

drive-by change: remove leftover skip-duplicate check from IWYU job
it's not doing nothing other than hard-failing the job on draft PRs.

* Forgor that get_affected_files needs to know includes, whoops
2025-02-18 07:44:58 +01:00
moxian 9ff4eeeb55 Enable the new test reporter on CI 2025-02-16 19:45:21 -08:00
moxian 26712e3801 Upgrade clang-tidy to LLVM 18, and fix (some) newly firing lints (#79633)
* Upgrade clang-tidy to llvm-18

- fix compilation issues
- update the CI
- drive-by change: bump the displayed "most time consuming checks" from
  top 10 to top 30

* Make .clang-tidy use structured list for checks

instead of a single string that relies on `\` with
no trailing whitespace for line joining.
Both because the \ thing is bugprone, but mostly because
i want to add extra comments about *why* the checks are
disabled

* Shuffle comments around to be closer to the thing they are commenting on

* Disable newly discovered firing checks

This partially defeats the whole point of update,
but maybe that's still worth it.

Improved existing checks:
modernize-make-shared
readability-redundant-member-init

Newly introduced checks:
bugprone-chained-comparison
bugprone-multi-level-implicit-pointer-conversion
bugprone-optional-value-conversion
bugprone-unused-local-non-trivial-variable
clang-analyzer-optin.core.EnumCastOutOfRange
performance-enum-size
readability-avoid-nested-conditional-operator
readability-avoid-return-with-void-value
readability-redundant-casting
readability-redundant-inline-specifier
readability-reference-to-constructed-temporary

* Reenable and fix modernize-make-shared

https://clang.llvm.org/extra/clang-tidy/checks/modernize/make-shared.html
the new check is the x.reset(new T(args)) => x=make_shared::<T>(args) form

example error:
  ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/item_location.cpp:838:13: error: use std::make_shared instead [modernize-make-shared,-warnings-as-errors]
    9 |         ptr.reset( new impl::item_on_person( who_id, idx ) );
      |            ~^~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~             ~
      |             = std::make_shared<impl::item_on_person>

* Re-enable and fix readability-redundant-member-init lint

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Sample error:
 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/effect_source.h:47:41: error: initializer for member 'fac' is redundant [readability-redundant-member-init,-warnings-as-errors]
    47 |         std::optional<faction_id> fac = faction_id();
       |                                       ~~^~~~~~~~~~~~

* Enable and fix bugprone-optional-value-conversion lint

https://clang.llvm.org/extra/clang-tidy/checks/bugprone/optional-value-conversion.html

Sample error:
 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/mission_util.cpp:182:67: error: conversion from 'std::optional<abstract_var_info<std::basic_string<char>>>' into 'abstract_var_info<std::basic_string<char>>' and back into 'std::optional<abstract_var_info<std::basic_string<char>>>', remove potentially error-prone optional dereference [bugprone-optional-value-conversion,-warnings-as-errors]
   182 |         return project_to<coords::omt>( get_tripoint_ms_from_var( params.target_var.value(), d, false ) );
       |                                                                   ^
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/mission_util.cpp:182:85: note: remove call to 'value' to silence this warning
   182 |         return project_to<coords::omt>( get_tripoint_ms_from_var( params.target_var.value(), d, false ) );
       |                                                                                    ~^~~~~~~

* Fix and reenable bugprone-chained-comparison

https://clang.llvm.org/extra/clang-tidy/checks/bugprone/chained-comparison.html

It only crops up in tests due to how catch2 works.

Catch2 has silenced the lint on their end in
https://github.com/catchorg/Catch2/commit/1078e7e95b3a06d4dadc75188de48bc4afffb955

This commit mirrors the upstream change

Example error:
 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/zones_custom_test.cpp:56:9: error: chained comparison 'v0 <= v1 == v2' may generate unintended results, use parentheses to specify order of evaluation or a logical operator to separate comparison expressions [bugprone-chained-comparison,-warnings-as-errors]
    56 |         REQUIRE( zmgr.get_near_zone_type_for_item( hammer, where ) == zone_type_LOOT_CUSTOM );
       |         ^
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:17636:24: note: expanded from macro 'REQUIRE'
  17636 | #define REQUIRE( ... ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS__  )
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:2706:47: note: expanded from macro 'INTERNAL_CATCH_TEST'
  2706 |             catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \
       |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/zones_custom_test.cpp:56:9: note: operand 'v0' is here
    56 |         REQUIRE( zmgr.get_near_zone_type_for_item( hammer, where ) == zone_type_LOOT_CUSTOM );
       |         ^
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:17636:24: note: expanded from macro 'REQUIRE'
  17636 | #define REQUIRE( ... ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS__  )
        |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:2706:47: note: expanded from macro 'INTERNAL_CATCH_TEST'
  2706 |             catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \
       |                                               ^~~~~~~~~~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/zones_custom_test.cpp:56:18: note: operand 'v1' is here
    56 |         REQUIRE( zmgr.get_near_zone_type_for_item( hammer, where ) == zone_type_LOOT_CUSTOM );
       |                  ^
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:17636:90: note: expanded from macro 'REQUIRE'
  17636 | #define REQUIRE( ... ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS__  )
        |                                                                                          ^~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:2706:70: note: expanded from macro 'INTERNAL_CATCH_TEST'
  2706 |             catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \
       |                                                                      ^~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/zones_custom_test.cpp:56:71: note: operand 'v2' is here
    56 |         REQUIRE( zmgr.get_near_zone_type_for_item( hammer, where ) == zone_type_LOOT_CUSTOM );
       |                                                                       ^
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:17636:90: note: expanded from macro 'REQUIRE'
  17636 | #define REQUIRE( ... ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS__  )
        |                                                                                          ^~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/tests/catch/catch.hpp:2706:70: note: expanded from macro 'INTERNAL_CATCH_TEST'
  2706 |             catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \
       |                                                                      ^~~~~~~~~~~

* Fix and re-enable readability-reference-to-constructed-temporary

https://clang.llvm.org/extra/clang-tidy/checks/readability/reference-to-constructed-temporary.html
Example error:
 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/melee.cpp:1809:32: error: reference variable 'dest' extends the lifetime of a just-constructed temporary object 'const tripoint_bub_ms' (aka 'const coords::coord_point_ob<tripoint, coords::origin::reality_bubble, coords::scale::map_square>'), consider changing reference to value [readability-reference-to-constructed-temporary,-warnings-as-errors]
  1809 |         const tripoint_bub_ms &dest{ new_, b.z()};
       |

* Fix and reenable readability-avoid-return-with-void-value

https://clang.llvm.org/extra/clang-tidy/checks/readability/avoid-return-with-void-value.html

Example error:

 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/map.h:2397:13: error: return statement within a void function should not have a specified return value [readability-avoid-return-with-void-value,-warnings-as-errors]
  2397 |             return map::i_clear( rebase_bub( p ) );
       |

* Triage readability-redundant-inline-specifier as not desirable

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-inline-specifier.html
Sample error:
 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/point.h:33:5: error: function 'is_invalid' has inline specifier but is implicitly inlined [readability-redundant-inline-specifier,-warnings-as-errors]
    33 |     inline bool is_invalid() const {
       |     ^~~~~~

Reasoning to keep disabled in the comments

* Triage clang-analyzer-optin.core.EnumCastOutOfRange as not desirable

https://clang.llvm.org/extra/clang-tidy/checks/clang-analyzer/optin.core.EnumCastOutOfRange.html

Rationale in comments.

Example error:

 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/enum_traits.h:99:12: error: The value '7' provided to the cast expression is not in the valid range of values for 'part_status_flag' [clang-analyzer-optin.core.EnumCastOutOfRange,-warnings-as-errors]
    99 |     return static_cast<E>( static_cast<I>( l ) | static_cast<I>( r ) );
       |            ^
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/vehicle.h:100:12: note: enum declared here
   100 | enum class part_status_flag : int {
       | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
   101 |     any = 0,
       |     ~~~~~~~~
   102 |     working = 1 << 0,
       |     ~~~~~~~~~~~~~~~~~
   103 |     available = 1 << 1,
       |     ~~~~~~~~~~~~~~~~~~~
   104 |     enabled = 1 << 2
       |     ~~~~~~~~~~~~~~~~
   105 | };
       | ~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/vehicle.cpp:3124:44: note: Calling 'operator|<part_status_flag, void>'
  3124 |             static_cast<part_status_flag>( part_status_flag::enabled |
       |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  3125 |                                            part_status_flag::working |
       |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3126 |                                            part_status_flag::available ) );
       |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/enum_traits.h:99:12: note: The value '7' provided to the cast expression is not in the valid range of values for 'part_status_flag'
    99 |     return static_cast<E>( static_cast<I>( l ) | static_cast<I>( r ) );
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

* Mark the remaining lints as "maybe some other day"

Lints in question:
  bugprone-multi-level-implicit-pointer-conversion
  bugprone-unused-local-non-trivial-variable
  performance-enum-size
  readability-avoid-nested-conditional-operator
  readability-redundant-casting

They look reasonable but I can't really deal with them right now.

* Fix readability-container-size-empty (and keep it enabled)

https://clang.llvm.org/extra/clang-tidy/checks/readability/container-size-empty.html

Error: /home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/climbing.cpp:222:13: error: the 'empty' method should be used to check for emptiness instead of 'length' [readability-container-size-empty,-warnings-as-errors]
  222 |         if( menu_hotkey_str.length() ) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
      |             !menu_hotkey_str.empty()

* Disable two lints for performance reasons.

Lints in question:
  misc-unused-using-decls
  modernize-replace-auto-ptr

These are in top-10 most expensive checks.

For context: here's the profiling data when running clang-tidy
on ~most of the codebase (as seen in the CI in one of the versions of the current PR):
{
  "time.clang-tidy.misc-unused-using-decls.wall": 1094.7915439605713,
  "time.clang-tidy.bugprone-stringview-nullptr.wall": 866.0817050933838,
  "time.clang-tidy.cata-redundant-parentheses.wall": 839.2004644870758,
  "time.clang-tidy.modernize-type-traits.wall": 814.9849390983582,
  "time.clang-tidy.bugprone-use-after-move.wall": 694.5256803035736,
  "time.clang-tidy.modernize-use-transparent-functors.wall": 670.7836837768555,
  "time.clang-tidy.bugprone-standalone-empty.wall": 600.5903759002686,
  "time.clang-tidy.modernize-replace-auto-ptr.wall": 580.4591262340546,
  "time.clang-tidy.modernize-deprecated-ios-base-aliases.wall": 566.2826192378998,
  "time.clang-tidy.bugprone-reserved-identifier.wall": 558.5143051147461,
  "time.clang-tidy.modernize-avoid-c-arrays.wall": 545.1163799762726,
  "time.clang-tidy.modernize-use-using.wall": 539.6424849033356,
  "time.clang-tidy.performance-unnecessary-value-param.wall": 471.33301615715027,
  "time.clang-tidy.readability-non-const-parameter.wall": 440.45192885398865,
  "time.clang-tidy.cert-dcl58-cpp.wall": 421.88030886650085,
  "time.clang-tidy.cata-translate-string-literal.wall": 390.8441689014435,
  "time.clang-tidy.cata-static-initialization-order.wall": 388.08465909957886,
  "time.clang-tidy.readability-redundant-declaration.wall": 381.59097266197205,
  "time.clang-tidy.cert-dcl16-c.wall": 362.8544645309448,
  "time.clang-tidy.readability-container-size-empty.wall": 358.62095737457275,
  "time.clang-tidy.modernize-use-nullptr.wall": 352.8454167842865,
  "time.clang-tidy.bugprone-suspicious-string-compare.wall": 350.5792667865753,
  "time.clang-tidy.misc-misleading-identifier.wall": 346.3509900569916,
  "time.clang-tidy.misc-definitions-in-headers.wall": 330.5536653995514,
  "time.clang-tidy.readability-redundant-control-flow.wall": 329.31720495224,
  "time.clang-tidy.bugprone-infinite-loop.wall": 319.4184067249298,
  "time.clang-tidy.bugprone-unused-return-value.wall": 306.18062829971313,
  "time.clang-tidy.performance-move-const-arg.wall": 300.217401266098,
  "time.clang-tidy.bugprone-assert-side-effect.wall": 298.9822633266449,
  "time.clang-tidy.bugprone-multiple-statement-macro.wall": 297.0318651199341
}

* Fix and re-enable bugprone-multi-level-implicit-pointer-conversion

https://clang.llvm.org/extra/clang-tidy/checks/bugprone/multi-level-implicit-pointer-conversion.html

Two points of occurence, both are about passing T** to memX() functions.
The usage is intended, and correct, so silence.
Although perhaps we could add an explicit `reinterpret_cast<void*>`
there, but I'm not sure it's valuable.

 ##[error]/home/runner/work/Cataclysm-DDA/Cataclysm-DDA/src/cata_bitset.h:182:25: error: multilevel pointer conversion from 'block_t **' (aka 'unsigned long **') to 'void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion,-warnings-as-errors]
  182 |                 memcpy( &ret, &storage_, sizeof( storage_ ) );
      |
2025-02-13 08:57:44 +01:00
moxian 3403981db8 Attach some debug info to release runner errors (#79569)
* release notes debugging

* Even more verbosity in debug logging
2025-02-07 14:59:39 +01:00
moxian 7d1bc161f8 Fix clang-tidy running on master branch finally... 2025-01-18 22:54:13 -08:00
moxian db8248631d always rebuild compilation database, but --force the symlink 2025-01-18 17:13:30 -08:00
moxian 7f94ecbae8 Fix minor issues with clang-tidy workflow 2025-01-18 16:02:15 -08:00
Anton Simakov fc14533dba Merge pull request #79138 from Procyonae/DealWithFlake8
Fix various flake8 errors
2025-01-13 19:23:39 +01:00
Procyonae 07b941ed35 Fix various flake8 errors 2025-01-13 12:37:12 +00:00
moxian cf3827a38a Reuse built clang-tidy plugin across the shards 2025-01-11 23:00:04 -08:00
moxian 6fc18f9c0d More targed clang-tidy 2024-12-27 00:17:59 -08:00
Andrew Krieger f23cfbb39f Use ccache --evict-older-than for more accurate and leaner ccaches. 2024-12-24 08:53:58 -08:00
Kevin Granade 5c7903118b Merge pull request #78570 from RenechCDDA/canonical_test_order
Canonical test ordering - lexicographic
2024-12-21 14:16:58 -08:00
Maleclypse 16efaf325f Merge pull request #78676 from mqrause/mod_combos
Improve test coverage of mod combinations with mod_interactions
2024-12-21 01:07:28 -06:00
RenechCDDA 94c0cd6c34 Run tests in lexographical order 2024-12-21 00:16:09 -05:00