+ # coverage mac
+ debug-coverage-mac:
+ name: debug coverage (<?=defaults("macOS")?>)
+ runs-on: <?=DEF["macOS"]?> #
+ env:
+ CMAKE_BUILD_TYPE: "Debug"
+ BUILD_TESTING: "ON"
+ VERBOSE: "ON"
+ CFLAGS: "-O0 --coverage"
+ CXXFLAGS: "-O0 --coverage"
+<?php env_override("macOS")?>
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v3
+<?php steps("macOS", false); ?>
+ - uses: codecov/codecov-action@v3
+
+ # mac release builds
+ mac:
+ name: release
+ strategy:
+ fail-fast: false
+ matrix:
+ os_ver: [macos-12, macos-11, macos-10.15]
+ runs-on: ${{ matrix.os_ver }}
+ env:
+ CMAKE_BUILD_TYPE: "Release"
+ BUILD_DOCS_MANGZ: "ON"
+<?php env_override("macOS")?>
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+<?php steps("macOS", false); ?>
+
+ # windows release builds
+ windows:
+ name: release
+ strategy:
+ fail-fast: false
+ matrix:
+ os_ver: [windows-2022, windows-2019]
+ cc_vnd: [msvc, mingw]
+ cc_ver: [cur]
+ runs-on: ${{ matrix.os_ver }}
+ continue-on-error: true
+ env:
+ CMAKE_BUILD_TYPE: "Release"
+ OS_VND: Windows
+ OS_VER: ${{ matrix.os_ver }}
+ CC_VND: ${{ matrix.cc_vnd }}
+ CC_VER: ${{ matrix.cc_ver }}
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+<?php steps("Windows", true); ?>
+
+ # linux release builds
+ release:
+ strategy:
+ fail-fast: false
+ matrix:
+ os_ver: [ubuntu-22.04, ubuntu-20.04]
+ cc_vnd: [gnu, clang]
+ cc_ver: [new, cur, old]
+ runs-on: ${{ matrix.os_ver }}
+ continue-on-error: ${{ matrix.cc_vnd == 'clang' }}
+ env:
+ CMAKE_BUILD_TYPE: "Release"
+ BUILD_DOCS_MANGZ: "ON"
+ OS_VND: Linux
+ OS_VER: ${{ matrix.os_ver }}
+ CC_VND: ${{ matrix.cc_vnd }}
+ CC_VER: ${{ matrix.cc_ver }}
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+<?php steps("Linux", true); ?>