From cc406213cbb154877dc0172b33a6ef26f3a76fe0 Mon Sep 17 00:00:00 2001 From: Raul Sanchez-Mateos Date: Thu, 28 Sep 2023 10:24:22 +0200 Subject: [PATCH] Compile tests only for fastdds_python Signed-off-by: Raul Sanchez-Mateos --- .github/workflows/build_and_test.yml | 6 ++---- .github/workflows/test.meta | 8 +++++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9483b266..87d9a6f4 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -86,8 +86,7 @@ jobs: colcon build --executor parallel --event-handlers console_direct+ desktop_notification- ` --metas ./src/fastdds_python/.github/workflows/test.meta ` --cmake-args -DCMAKE_C_COMPILER_LAUNCHER="${{ env.ccache_symlinks_path }}" ` - -DCMAKE_CXX_COMPILER_LAUNCHER="${{ env.ccache_symlinks_path }}" ` - -DBUILD_TESTING=ON + -DCMAKE_CXX_COMPILER_LAUNCHER="${{ env.ccache_symlinks_path }}" - name: Run tests shell: pwsh @@ -146,8 +145,7 @@ jobs: --metas ./src/fastdds_python/.github/workflows/test.meta \ --cmake-args \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ - -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ - -DBUILD_TESTING=ON + -DCMAKE_CXX_COMPILER_LAUNCHER=ccache - name: Run tests run: | diff --git a/.github/workflows/test.meta b/.github/workflows/test.meta index 3626c9c1..6ddb6b78 100644 --- a/.github/workflows/test.meta +++ b/.github/workflows/test.meta @@ -1,12 +1,18 @@ { "names": { - "fastrtps" : + "fastrtps": { "cmake-args": [ "-DTHIRDPARTY=ON", "-DSECURITY=ON", ] + }, + "fastdds_python": + { + "cmake-args": [ + "-DBUILD_TESTING=ON" + ] } } }