test: update generate-xml script
This commit is contained in:
parent
724822b3ab
commit
b0f413037a
9
.github/workflows/ccpp.yml
vendored
9
.github/workflows/ccpp.yml
vendored
@ -9,7 +9,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: build examples and tests
|
- name: build examples and tests
|
||||||
run: rm -rf build || true && mkdir build && cd build && cmake .. -DLIBMBUS_BUILD_EXAMPLES=ON -DLIBMBUS_BUILD_TESTS=ON && cmake --build . -j
|
run: rm -rf build || true && mkdir build && cd build && cmake .. -DLIBMBUS_BUILD_EXAMPLES=ON -DLIBMBUS_BUILD_TESTS=ON -DLIBMBUS_ENABLE_COVERAGE=ON && cmake --build . -j && cd ..
|
||||||
|
|
||||||
|
- name: generate test frames
|
||||||
|
run: ./test/generate-xml.sh test/test-frames build/bin/mbus_parse_hex
|
||||||
|
|
||||||
|
- name: install and run gcovr
|
||||||
|
run: sudo pip install gcovr && gcovr build/.
|
||||||
|
|
||||||
debian:
|
debian:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -21,6 +27,7 @@ jobs:
|
|||||||
|
|
||||||
doc:
|
doc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: build doxygen documentation
|
- name: build doxygen documentation
|
||||||
|
@ -17,7 +17,7 @@ endif()
|
|||||||
|
|
||||||
option(LIBMBUS_BUILD_EXAMPLES "build examples" OFF)
|
option(LIBMBUS_BUILD_EXAMPLES "build examples" OFF)
|
||||||
option(LIBMBUS_BUILD_TESTS "build tests" OFF)
|
option(LIBMBUS_BUILD_TESTS "build tests" OFF)
|
||||||
option(LIBMBUS_ENABLE_COVERAGE "build with coverage support" ON)
|
option(LIBMBUS_ENABLE_COVERAGE "build with coverage support" OFF)
|
||||||
option(LIBMBUS_RUN_CLANG_TIDY "use Clang-Tidy for static analysis" OFF)
|
option(LIBMBUS_RUN_CLANG_TIDY "use Clang-Tidy for static analysis" OFF)
|
||||||
option(LIBMBUS_PACKAGE_DEB "build debian package" OFF)
|
option(LIBMBUS_PACKAGE_DEB "build debian package" OFF)
|
||||||
option(LIBMBUS_PACKAGE_RPM "build rpm package" OFF)
|
option(LIBMBUS_PACKAGE_RPM "build rpm package" OFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user