Skip to content
Snippets Groups Projects
  1. Sep 22, 2023
    • Administrator's avatar
      Add new CMake target to run clang-tidy · 6eadbda9
      Administrator authored
      The target will run clang-tidy on all changed source and header files
      The target is only created if the used clang-tidy supports all required
      checks. The required checks will be extracted from the clang-tidy configuration
      file, so the list should be alwyas correct.
      
      Instead of having a hardcoded list of required checks the list is extracted
      from the clang-tidy config file such that the list is always up to date.
      
      Add CMake script to execute the TidyCheck in our CI
      
      Download and install external packages needed when running clang-tidy.
      To speed up things execute clang-tidy in parallel on differnt files if more
      cores are available.
      
      Add shell script used by the CMake target
      
      Check changed header files only if there is a corresponding source file in the
      compile_commands database. Currently there is no way to test header files
      without corresponding source file (compilation unit).
      Create missing but expected output directories.
      Remove clang-tidy command line option
      The option was moved to the config file.
      
      The script find_files.sh is now used from two places so pass the required
      information as parameters. Remove one unneded parameter
      6eadbda9
  2. Aug 25, 2020
    • Administrator's avatar
      Improve code format checker · 40e09453
      Administrator authored
      Don't download the external packages when running the code format checker.
      This improves the run time from more than 4 minutes to less than  1 minute.
      Test each file individually such that the results on CDash are shown for each
      file separately.
      40e09453
  3. Jul 09, 2020
    • Administrator's avatar
      Implement automatic format checker · f0eb1974
      Administrator authored and Florian Uhlig's avatar Florian Uhlig committed
      Add format check in GitLab CI configuration file.
      Add CMake target for format checker .
      Add neede CMake files and shell scripts.
      Add label in GitLab CI configuration file such that it can be
      properly sorted on CDash.
      The checker is disabled till we format the complete code base.
      f0eb1974
Loading