Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/c-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ jobs:
name: C/C++ CMake CI Test
strategy:
matrix:
os: ["ubuntu-24.04"]
os:
- "ubuntu-24.04"
- "ubuntu-24.04-arm"
- "ubuntu-26.04"
- "ubuntu-26.04-arm"
runs-on: ${{ matrix.os }}

steps:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/c-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ jobs:
name: C/C++ CMake CI Test
strategy:
matrix:
os: ["macos-14"]
os:
- "macos-14"
- "macos-15"
- "macos-15-intel"
- "macos-26"
- "macos-26-intel"
runs-on: ${{ matrix.os }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/c-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: C/C++ CMake CI Test
strategy:
matrix:
os: ["windows-2022"]
os: ["windows-2022", "windows-2025"]
arch:
- amd64
- amd64_x86
Expand Down
11 changes: 9 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,15 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

SET(GCC_COVERAGE_COMPILE_FLAGS "-fsanitize=address -fprofile-arcs -ftest-coverage -g -O0 -save-temps")
SET(GCC_COVERAGE_LINK_FLAGS "--coverage")
# -fsanitize=address causes SIGILL on macOS (Clang 17 + macOS 26 Intel) due to
# ASan runtime incompatibility. Coverage instrumentation still works without it.
if(APPLE)
SET(GCC_COVERAGE_COMPILE_FLAGS "-fprofile-arcs -ftest-coverage -g -O0 -save-temps")
SET(GCC_COVERAGE_LINK_FLAGS "--coverage")
else()
SET(GCC_COVERAGE_COMPILE_FLAGS "-fsanitize=address -fprofile-arcs -ftest-coverage -g -O0 -save-temps")
SET(GCC_COVERAGE_LINK_FLAGS "--coverage")
endif()

if (CMAKE_GENERATOR MATCHES "Unix Makefiles")

Expand Down
Loading