mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 00:57:46 +08:00
dont built tools, examples and app for coverage build
This commit is contained in:
@@ -20,7 +20,6 @@ jobs:
|
|||||||
name: ${{ matrix.build_name }}
|
name: ${{ matrix.build_name }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
concurrency:
|
concurrency:
|
||||||
# Use build_name, not os: ubuntu-24.04 and ubuntu-24.04-with-opengv share the same runner.
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.build_name }}
|
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.build_name }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
@@ -5,7 +5,8 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
branches:
|
||||||
|
- '**'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
@@ -47,6 +48,9 @@ jobs:
|
|||||||
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
|
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
|
||||||
-DENABLE_COVERAGE=ON \
|
-DENABLE_COVERAGE=ON \
|
||||||
-DBUILD_TESTING=ON \
|
-DBUILD_TESTING=ON \
|
||||||
|
-DBUILD_APP=OFF \
|
||||||
|
-DBUILD_TOOLS=OFF \
|
||||||
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DWITH_QT=OFF \
|
-DWITH_QT=OFF \
|
||||||
-DWITH_PYTHON=OFF \
|
-DWITH_PYTHON=OFF \
|
||||||
-DWITH_CERES=OFF \
|
-DWITH_CERES=OFF \
|
||||||
|
|||||||
@@ -46,6 +46,9 @@ configure_coverage_build() {
|
|||||||
-DCMAKE_BUILD_TYPE=Debug \
|
-DCMAKE_BUILD_TYPE=Debug \
|
||||||
-DENABLE_COVERAGE=ON \
|
-DENABLE_COVERAGE=ON \
|
||||||
-DBUILD_TESTING=ON \
|
-DBUILD_TESTING=ON \
|
||||||
|
-DBUILD_APP=OFF \
|
||||||
|
-DBUILD_TOOLS=OFF \
|
||||||
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DWITH_QT=OFF \
|
-DWITH_QT=OFF \
|
||||||
-DWITH_PYTHON=OFF \
|
-DWITH_PYTHON=OFF \
|
||||||
-DWITH_CERES=OFF \
|
-DWITH_CERES=OFF \
|
||||||
|
|||||||
Reference in New Issue
Block a user