CI linux: add clang++-11 C++20 (with LLVM libc++) build

* find-package-test fixed by passing CXX_FLAGS, i.e. -stdlib=libc++
 * std::array usage in compile-test.cc replaced with plain array, because
   <array> header was not included
This commit is contained in:
Alexey Ochapov
2021-04-08 03:25:40 +03:00
committed by Victor Zverovich
parent 1dbadb6527
commit b441532396
3 changed files with 10 additions and 3 deletions

View File

@ -38,6 +38,12 @@ jobs:
build_type: Debug
std: 20
os: ubuntu-20.04
- cxx: clang++-11
build_type: Debug
std: 20
cxxflags: -stdlib=libc++
os: ubuntu-20.04
install: sudo apt install libc++-11-dev libc++abi-11-dev
steps:
- uses: actions/checkout@v2