From 3160847ebd594115743a53230e5f5b697a74f733 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Sun, 13 Nov 2022 15:18:57 +0500 Subject: [PATCH] Enable C++17 tests on macOS Signed-off-by: Vladislav Shchapov --- .github/workflows/macos.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index ead1d5cb..e76324d8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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