File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,29 @@ jobs:
57
57
58
58
steps :
59
59
- uses : actions/checkout@v3
60
+
60
61
- name : update apt
61
62
run : sudo apt update -y
63
+
62
64
- name : install compiler
63
65
run : sudo apt install -y ${{ matrix.config.deps }}
66
+
64
67
- name : install deps
65
- run : sudo apt install -y meson ninja-build libdrm-dev libegl1-mesa-dev libgles2-mesa-dev libwayland-dev libx11-xcb-dev libx11-dev libgbm-dev libevdev-dev libfmt-dev
68
+ run : sudo apt install -y meson ninja-build libdrm-dev libegl1-mesa-dev libgles2-mesa-dev \
69
+ libwayland-dev libx11-xcb-dev libx11-dev libgbm-dev libevdev-dev libfmt-dev \
70
+ clang-tools cppcheck
71
+
66
72
- name : configure
67
73
env :
68
74
CC : ${{ matrix.config.cc }}
69
75
CXX : ${{ matrix.config.cxx }}
70
76
run : meson setup -Dkmscube=true -Dpykms=enabled -Dwerror=true -Db_lto=true build
77
+
71
78
- name : build
72
79
run : ninja -v -C build
80
+
81
+ - name : Clang static analysis
82
+ run : ninja -C build scan-build
83
+
84
+ - name : cppcheck
85
+ run : cppcheck --enable=all kms++ kms++utils kmscube utils
You can’t perform that action at this time.
0 commit comments