mirror of
https://github.com/emqx/neuron.git
synced 2026-10-25 03:10:21 +08:00
@@ -25,6 +25,19 @@ jobs:
|
||||
clangFormatVersion: 10
|
||||
style: file
|
||||
|
||||
cppcheck:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: cppcheck
|
||||
run: |
|
||||
sudo apt install cppcheck
|
||||
cppcheck --enable=all --error-exitcode=2 --suppress=missingInclude --suppress=unusedFunction ./plugins ./simulator ./src
|
||||
|
||||
ut:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ jobs:
|
||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/${{ matrix.arch[0] }}.cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release -DDISABLE_UT=ON
|
||||
make -j4
|
||||
|
||||
- name: get version
|
||||
id: get_version
|
||||
run: echo "::set-output name=version::$(cat version)"
|
||||
|
||||
Reference in New Issue
Block a user