.github/workflows: Skip disabled regression analyzers

Do not install sparse or build smatch in jobs that disable both.

Check for each tool only when the corresponding analysis is enabled.
This commit is contained in:
Gleb Chesnokov
2026-08-25 14:24:22 +03:00
parent 06857c81cb
commit 726f91559c
2 changed files with 19 additions and 30 deletions
+1 -12
View File
@@ -42,18 +42,7 @@ jobs:
- name: Install libelf-dev
run: |
sudo apt-get update
sudo apt-get install -y libelf-dev libsqlite3-dev
- name: Install sparse
run: |
sudo apt-get install sparse
- name: Install smatch
run: |
git clone https://github.com/error27/smatch.git
cd smatch
make -j
sudo BINDIR=/bin SHAREDIR=/home/runner/share make install
sudo apt-get install -y libelf-dev
- name: Run regression tests
run: |