From 6d7f0bf72daf4932812d8ec58a941e0ddfd4fa7e Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Sun, 13 Nov 2022 15:17:57 +0500 Subject: [PATCH 1/2] Add missing env CTEST_OUTPUT_ON_FAILURE Signed-off-by: Vladislav Shchapov --- .github/workflows/windows.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d53fc38d6f08..9bef6e8b9d26 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -90,3 +90,5 @@ jobs: run: cmake --build ../build - name: Test run: ctest -j `nproc` --test-dir ../build + env: + CTEST_OUTPUT_ON_FAILURE: True From b71971944a41dd23a3be03f99e512275b6f50e38 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Sun, 13 Nov 2022 15:18:57 +0500 Subject: [PATCH 2/2] 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 ead1d5cb3750..e76324d8e76c 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