Enable C++17 tests on macOS

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov 2022-11-13 15:18:57 +05:00 committed by Victor Zverovich
parent 6a95f8c7eb
commit 3160847ebd

View File

@ -11,6 +11,7 @@ jobs:
strategy:
matrix:
build_type: [Debug, Release]
std: [11, 17]
include:
- shared: -DBUILD_SHARED_LIBS=ON
@ -24,6 +25,7 @@ jobs:
working-directory: ${{runner.workspace}}/build
run: |
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{matrix.shared}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
-DCMAKE_CXX_VISIBILITY_PRESET=hidden -DCMAKE_VISIBILITY_INLINES_HIDDEN=ON \
-DFMT_DOC=OFF -DFMT_PEDANTIC=ON -DFMT_WERROR=ON $GITHUB_WORKSPACE