ci: add validation step for generated pkg-config files
This pull request introduces an automated validation step within the CMake CI workflow (.github/workflows/CI.yml) to ensure the structural integrity of generated pkg-config exports. Building on recent fixes for absolute pathing in .pc files, this addition prevents future regressions by strictly testing the generated fortran_stdlib.pc file immediately following the cmake --install step. The workflow now ensures pkg-config is present on the runner, maps the PKG_CONFIG_PATH to the local _dist installation directory, and executes both a strict --validate check and a test of the --cflags and --libs flag resolution. Solve #1149
@jalvesz @jvdp1 please have a look on this pr, and kindly suggest if any changes are required for this pr. Waiting for your feedback. Thank you.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 68.85%. Comparing base (72698fd) to head (3a227d6).
:warning: Report is 28 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #1150 +/- ##
==========================================
+ Coverage 68.66% 68.85% +0.19%
==========================================
Files 408 408
Lines 13619 13735 +116
Branches 1537 1555 +18
==========================================
+ Hits 9351 9457 +106
- Misses 4268 4278 +10
:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@jvdp1 I have made the changes according to your suggestion .Please have a look at this now, if it is ok or not.
hey @jvdp1 as you have suggested I reverted the parallelization feature and will create another pr to solve the test problem. Please review this pr once . Thanks!
hey @jvdp1, any more changes that you want for this pr or is this good to go to be merged?