mirror of
https://github.com/SCST-project/scst.git
synced 2026-10-22 14:12:33 +00:00
.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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user