diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index cc44d7c..c3051fb 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -14,9 +14,8 @@ jobs: fetch-depth: 0 - name: Compile run: | - cmake -B build -DBUILD_TEST=ON - cmake --build build + g++ ./src/device/EventBus.h ./test/main.cpp -o main - name: Run tests run: | - ./build/test + ./main \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index a94f725..99d952b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,34 +92,3 @@ install( ) endif() -################################################################################ -## Test -################################################################################ - -if(${BUILD_TEST}) - -add_executable(test - test/main.cpp -) - -set_property( - TARGET - test - PROPERTY - CXX_STANDARD 17 -) - -target_include_directories( - test - PUBLIC - ${CMAKE_CURRENT_SOURCE_DIR} -) - -target_link_libraries( - test - PRIVATE - midas::mfe - ${LIBS} -) - -endif() \ No newline at end of file