Skip to content

Commit a7306be

Browse files
committed
Ci-unixish.yml: exclude macOS build with C++20 for now
1 parent 7d3cfd2 commit a7306be

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/CI-unixish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,15 @@ jobs:
197197
matrix:
198198
os: [ubuntu-22.04, macos-15]
199199
cxxstd: [14, 17, 20]
200+
# FIXME: macos-15 fails to compile with C++20
201+
#
202+
# /Users/runner/work/cppcheck/cppcheck/cmake.output/gui/test/projectfile/moc_testprojectfile.cpp:84:1: error: 'constinit' specifier is incompatible with C++ standards before C++20 [-Werror,-Wc++20-compat]
203+
# 84 | Q_CONSTINIT const QMetaObject TestProjectFile::staticMetaObject = { {
204+
# | ^
205+
# /opt/homebrew/opt/qt/lib/QtCore.framework/Headers/qcompilerdetection.h:1409:23: note: expanded from macro 'Q_CONSTINIT'
206+
exclude:
207+
- os: macos-15
208+
cxxstd: 20
200209
fail-fast: false # Prefer quick result
201210

202211
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)