From aa3ab2a73566dae7d5384276005df36f5545cc99 Mon Sep 17 00:00:00 2001 From: Christophe Date: Tue, 5 Mar 2024 15:49:49 +0100 Subject: [PATCH] Disable unit tests by default --- .github/workflows/ci.yml | 4 ++-- glm/detail/setup.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4e697a0a5..a7f3bf4a9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,8 +130,8 @@ jobs: run: cmake --version - name: Run with automagic detection run: | - cmake -S. -B ./build_auto - cmake --build ./build_auto --config ${{matrix.config}} -DGLM_BUILD_TESTS=ON + cmake -S. -B ./build_auto -DGLM_BUILD_TESTS=ON + cmake --build ./build_auto --config ${{matrix.config}} ctest --verbose -C ${{matrix.config}} --test-dir ./build_auto - name: Run with GLM_FORCE_PURE diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index eef4fe95f1..68ff489b16 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -976,7 +976,7 @@ namespace detail # define GLM_STR(x) GLM_STR_HELPER(x) // Report GLM version -# pragma message ("GLM: version " GLM_STR(GLM_VERSION_MAJOR)"."GLM_STR(GLM_VERSION_MINOR)"."GLM_STR(GLM_VERSION_PATCH)) +# pragma message ("GLM: version " GLM_STR(GLM_VERSION_MAJOR) "." GLM_STR(GLM_VERSION_MINOR) "." GLM_STR(GLM_VERSION_PATCH)) // Report C++ language # if (GLM_LANG & GLM_LANG_CXX20_FLAG) && (GLM_LANG & GLM_LANG_EXT)