-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Fedora 40 to build pipeline (#430)
_And_: * Remove Fedora 38 * Fix `openSUSE Leap 15` Docker build's default GCC no longer compiles `Mapnik` latest * C++17 is now required, so a newer GCC will be installed * Fix for coverage capturing with LCOV 2.1 * Seems to currently only exist on macOS
- Loading branch information
1 parent
a23fcf1
commit e1611fc
Showing
8 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,42 +8,47 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- name: Process `mod_tile` coverage results | ||
- name: Process `mod_tile` coverage results with CTest | ||
run: | | ||
ctest -T coverage || true | ||
shell: bash --noprofile --norc -euxo pipefail {0} | ||
working-directory: build | ||
if: matrix.build_system == 'CMake' | ||
|
||
- name: Process `mod_tile` coverage results | ||
run: | | ||
lcov ${{ inputs.lcov-extra-options }} \ | ||
--base-directory . \ | ||
--capture \ | ||
--directory . \ | ||
--output-file coverage.info | ||
--directory ${{ matrix.build_system == 'CMake' && 'build' || '.' }} \ | ||
--output-file coverage.info \ | ||
--rc geninfo_unexecuted_blocks=1 | ||
lcov ${{ inputs.lcov-extra-options }} \ | ||
--output-file coverage.info \ | ||
--remove coverage.info \ | ||
"${GITHUB_WORKSPACE}/includes/*" \ | ||
"${GITHUB_WORKSPACE}/tests/*" \ | ||
"/usr/*" | ||
shell: bash --noprofile --norc -euxo pipefail {0} | ||
working-directory: build | ||
|
||
- name: Report `mod_tile` coverage results to `codecov.io` | ||
uses: codecov/[email protected] | ||
with: | ||
files: build/coverage.info | ||
files: coverage.info | ||
|
||
- name: Write `mod_tile` coverage summary to `$GITHUB_STEP_SUMMARY` | ||
run: | | ||
lcov ${{ inputs.lcov-extra-options }} \ | ||
--summary \ | ||
coverage.info | sed 's/^ /* /g' >> ${GITHUB_STEP_SUMMARY} | ||
shell: bash --noprofile --norc -euxo pipefail {0} | ||
working-directory: build | ||
|
||
- name: Generate `mod_tile` coverage artifacts | ||
run: | | ||
genhtml ${{ inputs.genhtml-extra-options }} \ | ||
--output-directory coverage \ | ||
coverage.info | ||
shell: bash --noprofile --norc -euxo pipefail {0} | ||
working-directory: build | ||
|
||
- name: Set `COVERAGE_ARTIFACT_NAME` | ||
run: | | ||
|
@@ -55,5 +60,5 @@ runs: | |
with: | ||
name: Coverage Artifacts - ${{ env.COVERAGE_ARTIFACT_NAME }}${{ matrix.mapnik_latest && ' (Latest Mapnik)' || '' }} | ||
path: | | ||
build/coverage | ||
build/coverage.info | ||
coverage | ||
coverage.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters