ci: add static_analysis to .drone.yml
This commit is contained in:
parent
f2731535e1
commit
df7b90010f
1 changed files with 18 additions and 0 deletions
18
.drone.yml
18
.drone.yml
|
@ -24,3 +24,21 @@ steps:
|
|||
done
|
||||
|
||||
echo "✅ All files are properly formatted"
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: static analysis
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
|
||||
steps:
|
||||
- name: static_analysis
|
||||
image: static_analysis:latest
|
||||
pull: if-not-exists
|
||||
privileged: true
|
||||
commands:
|
||||
- conan build . -s build_type=Release -o enable_static_analysis=True --build=missing
|
||||
|
|
Loading…
Add table
Reference in a new issue