dont built tools, examples and app for coverage build

This commit is contained in:
matlabbe
2026-05-16 21:37:06 -07:00
parent c7bb107d2e
commit 4a5109c1bc
3 changed files with 8 additions and 2 deletions
-1
View File
@@ -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 -1
View File
@@ -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 \
+3
View File
@@ -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 \