From 41401a93e80e121fef8c6a9e5b17cf981d12818c Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Fri, 19 Apr 2024 22:39:56 +0200 Subject: [PATCH] Update github action, fix compiler error --- .github/workflows/linux_build.yaml | 2 +- .github/workflows/linux_unit_test.yaml | 3 +-- tests/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux_build.yaml b/.github/workflows/linux_build.yaml index df0fa16..e28f99c 100644 --- a/.github/workflows/linux_build.yaml +++ b/.github/workflows/linux_build.yaml @@ -7,7 +7,7 @@ on: branches: [ "main" ] jobs: - build: + build-multiple-configurations: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/linux_unit_test.yaml b/.github/workflows/linux_unit_test.yaml index 71dce7a..bfcd7af 100644 --- a/.github/workflows/linux_unit_test.yaml +++ b/.github/workflows/linux_unit_test.yaml @@ -7,9 +7,8 @@ on: branches: [ "main" ] jobs: - build: + build-and-run-unit-tests: runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - uses: threeal/gcovr-action@latest diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c940359..f4b6c7b 100755 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -18,7 +18,7 @@ if(ENABLE_EZ_EVENT_NOTIFIER) add_subdirectory(service/event_notifier) endif() -if(ENABLE_EZ_TASK_WORKER) +if(ENABLE_EZ_TASK_WORKER AND NOT ENABLE_THREADX) add_subdirectory(service/task_worker) endif()