Skip to content

Commit

Permalink
Compile tests only for fastdds_python
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sanchez-Mateos <[email protected]>
  • Loading branch information
rsanchez15 committed Sep 28, 2023
1 parent 21c3f73 commit cc40621
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/test.meta
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
{
"names":
{
"fastrtps" :
"fastrtps":
{
"cmake-args": [
"-DTHIRDPARTY=ON",
"-DSECURITY=ON",
]
},
"fastdds_python":
{
"cmake-args": [
"-DBUILD_TESTING=ON"
]
}
}
}

0 comments on commit cc40621

Please sign in to comment.