You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ "${{ matrix.project }}" == "flight_computer" ]]; then
109
+
platformio run -d ${{ matrix.project }} --environment debug
110
+
else
111
+
platformio run -d ${{ matrix.project }}
112
+
fi
113
+
114
+
- name: Generate compile_commands.json
115
+
run: |
116
+
if [[ "${{ matrix.project }}" == "flight_computer" ]]; then
117
+
platformio run -d ${{ matrix.project }} --target compiledb --environment debug
118
+
else
119
+
platformio run -d ${{ matrix.project }} --target compiledb
120
+
fi
121
+
122
+
- name: Lint
123
+
working-directory: ./${{ matrix.project }}
124
+
run: |
125
+
if [[ "${{ matrix.project }}" == "flight_computer" ]]; then
126
+
output=$(platformio check --environment debug)
127
+
else
128
+
output=$(platformio check)
129
+
fi
130
+
131
+
echo "$output"
132
+
133
+
echo "Note: Warnings 'clang-diagnostic-c++17-extensions' and 'clang-analyzer-valist.Uninitialized' are excluded from checking since they seem to be false-positives. Fix everything else!"
0 commit comments