mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-19 14:47:04 +00:00
update(ci): allow version/static checks to work even if libelf is not installed
Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
parent
e37570116d
commit
acea57ac44
@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Configure project
|
- name: Configure project
|
||||||
run: |
|
run: |
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake -DUSE_BUNDLED_DEPS=On ..
|
cmake -DUSE_BUNDLED_DEPS=On -DUSE_DYNAMIC_LIBELF=Off ..
|
||||||
|
|
||||||
- name: Load and store Falco version output
|
- name: Load and store Falco version output
|
||||||
id: store_version
|
id: store_version
|
||||||
|
2
.github/workflows/staticanalysis.yaml
vendored
2
.github/workflows/staticanalysis.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
- name: Build and run cppcheck 🏎️
|
- name: Build and run cppcheck 🏎️
|
||||||
run: |
|
run: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build && cmake -DUSE_BUNDLED_DEPS=On -DBUILD_WARNINGS_AS_ERRORS=ON -DCREATE_TEST_TARGETS=Off -DCMAKE_BUILD_TYPE="release" -DBUILD_BPF=Off -DBUILD_DRIVER=Off ..
|
cd build && cmake -DUSE_BUNDLED_DEPS=On -DUSE_DYNAMIC_LIBELF=Off -DBUILD_WARNINGS_AS_ERRORS=ON -DCREATE_TEST_TARGETS=Off -DCMAKE_BUILD_TYPE="release" -DBUILD_BPF=Off -DBUILD_DRIVER=Off ..
|
||||||
make -j4 cppcheck
|
make -j4 cppcheck
|
||||||
make -j4 cppcheck_htmlreport
|
make -j4 cppcheck_htmlreport
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user