@@ -60,7 +60,7 @@ some system packages (the different `clang-tidy` versions) as well as
6060some Python packages. This that means that there's a two-three minutes
6161start-up in order to build the Docker container. If you need to
6262install some additional packages you can pass them via the
63- ` apt_packages` argument.
63+ ` apt_packages` argument or run some install commands with `install_commands` .
6464
6565Except for very simple projects, a `compile_commands.json` file is necessary for
6666clang-tidy to find headers, set preprocessor macros, and so on. You can generate
@@ -100,6 +100,8 @@ at once, so `clang-tidy-review` will only attempt to post the first
100100 - default : ' '
101101- `apt_packages` : Comma-separated list of apt packages to install
102102 - default : ' '
103+ - `install_commands` : Commands to execute after `apt_packages` before `cmake_command`
104+ - default : ' '
103105- `cmake_command` : A CMake command to configure your project and generate
104106 ` compile_commands.json` in `build_dir`. You _almost certainly_ want
105107 to include `-DCMAKE_EXPORT_COMPILE_COMMANDS=ON`!
@@ -149,7 +151,8 @@ jobs:
149151 id: review
150152 with:
151153 # List of packages to install
152- apt_packages: liblapack-dev
154+ apt_packages: liblapack-dev,devscripts,equivs
155+ install_commands: 'ln -s foo bar; mk-build-deps -i'
153156 # CMake command to run in order to generate compile_commands.json
154157 cmake_command: cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=on
155158` ` `
0 commit comments