From 1e216a882b9b45066f364f031b8ac2d9b9c2fe86 Mon Sep 17 00:00:00 2001 From: djowel Date: Sat, 25 Nov 2023 10:21:04 +0800 Subject: [PATCH] Integrate github CI testing --- .github/workflows/build_test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index e0799d64..27688926 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -112,3 +112,12 @@ jobs: if (NOT result EQUAL 0) message(FATAL_ERROR "Could not run with ${CMAKE_COMMAND}: Got ${error_message} - ${result}") endif() + + - name: Test + run: | + execute_process( + COMMAND ${CMAKE_COMMAND} --build build --target test + RESULT_VARIABLE result + ERROR_VARIABLE error_message + ) +