From 9d9e00103d5c5d729671e80fb84018ca57edccfd Mon Sep 17 00:00:00 2001 From: Archit Aggarwal Date: Fri, 23 Jul 2021 04:02:36 +0000 Subject: [PATCH] Fix CI failures --- .github/workflows/ci.yml | 2 +- docs/doxygen/pages.dox | 2 +- lexicon.txt | 5 ++++- test/CMakeLists.txt | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3798b6..5a5dd38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v2 - name: Build code example run: | - cmake -S test -b Build -DBUILD_CODE_EXAMPLE=ON + cmake -S test -B Build -DBUILD_CODE_EXAMPLE=ON make -C build code_example_posix -j8 complexity: runs-on: ubuntu-latest diff --git a/docs/doxygen/pages.dox b/docs/doxygen/pages.dox index 643e56a..1c1b260 100644 --- a/docs/doxygen/pages.dox +++ b/docs/doxygen/pages.dox @@ -65,7 +65,7 @@ every path of execution and achieve 100% branch coverage. @page backoff_algorithm_example Code Example for backoffAlgorithm API @brief Example POSIX application that retries DNS resolution operation with exponential backoff-and-jitter using the backoffAlgorithm library. -@include backoff_algorithm_posix.c +@include backoff_algorithm_posix.c */ /** diff --git a/lexicon.txt b/lexicon.txt index 4eadb40..5e17bca 100644 --- a/lexicon.txt +++ b/lexicon.txt @@ -41,9 +41,11 @@ os param pcontext pnextbackoff +posix pretrycontext pretryparams prng +rand randomvalue readme rm @@ -57,4 +59,5 @@ td toolchain tr trng -utils +usleep +utils \ No newline at end of file diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 561904d..b323092 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -54,9 +54,9 @@ if(${BUILD_CODE_EXAMPLE}) ${MODULE_ROOT_DIR}/docs/doxygen/code_examples/backoff_algorithm_posix.c ) target_link_libraries( code_example_posix coverity_analysis ) - + endif() - + # ==================================== Unit Test Configuration ==================================== if(${BUILD_UNIT_TESTS})