Skip to content

Commit 6942ffb

Browse files
committed
ci: use libc++ for Clang 5 C++17 coverage
1 parent 0cf25d2 commit 6942ffb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,11 @@ jobs:
273273
fail-fast: false
274274
matrix:
275275
include:
276+
# Clang 5 cannot compile libstdc++ 10's C++17 std::variant due to
277+
# LLVM PR31852/PR33222. Its matching libc++ 5 is compatible.
276278
- clang: 5
277279
std: 17
280+
cxx_flags: "-stdlib=libc++"
278281
- clang: 11
279282
std: 20
280283
- clang: 16

0 commit comments

Comments
 (0)