diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b705f0..0320211 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,12 @@ name: Ubuntu CI -on: [push, pull_request] +on: + pull_request: + push: + branches: + - 'ign-plugin[0-9]' + - 'gz-plugin[0-9]' + - 'main' jobs: focal-ci: @@ -8,7 +14,7 @@ jobs: name: Ubuntu Focal CI steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compile and test id: ci uses: gazebo-tooling/action-gz-ci@focal @@ -22,7 +28,7 @@ jobs: name: Ubuntu Jammy CI steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compile and test id: ci uses: gazebo-tooling/action-gz-ci@jammy diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 2c94852..2332244 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -14,4 +14,3 @@ jobs: with: project-url: https://github.com/orgs/gazebosim/projects/7 github-token: ${{ secrets.TRIAGE_TOKEN }} - diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index 079ccdb..c9242c4 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -1,3 +1,4 @@ + # Collect source files into the "sources" variable and unit test files into the # "tests" variable gz_get_libsources_and_unittests(sources tests) @@ -53,7 +54,8 @@ endif() install( DIRECTORY include/ - DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL}) + DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL} + PATTERN "CMakeLists.txt" EXCLUDE) #============================================================================ # gz command line support diff --git a/register/CMakeLists.txt b/register/CMakeLists.txt index a0a69f9..71478ef 100644 --- a/register/CMakeLists.txt +++ b/register/CMakeLists.txt @@ -2,4 +2,5 @@ gz_add_component(register INTERFACE) install( DIRECTORY include/ - DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL}) + DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL} + PATTERN "CMakeLists.txt" EXCLUDE)