ci: check the installed package with a downstream project

- Install to a prefix, relocate it and build a minimal consumer that uses
  find_package(FairMQ) and FairMQ::FairMQ
- Fail if documented package variables are missing or if installed files
  still refer to the original prefix

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-09 22:15:13 +00:00
committed by Dennis Klein
parent 488bbddf9c
commit ac1857c7d8
4 changed files with 116 additions and 0 deletions

View File

@@ -64,6 +64,9 @@ jobs:
- name: Install
run: cmake --install build
- name: Check installation with a downstream project
run: test/consumer/check-install.sh build
sanitizers:
if: github.repository == 'FairRootGroup/FairMQ'
name: ${{ matrix.sanitizer.name }}