Skip to content

Commit

Permalink
cleanup cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
MALASHKIN Andrei committed May 20, 2024
1 parent 3304952 commit ec759de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ on:
jobs:
call-reusable-workflow:
name: Call Reusable Testing Callback Workflow
uses: NilFoundation/ci-cd/.github/workflows/[email protected].0
uses: NilFoundation/ci-cd/.github/workflows/[email protected].1
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
handle-syncwith:
name: Call Reusable SyncWith Handler
uses: NilFoundation/ci-cd/.github/workflows/[email protected].0
uses: NilFoundation/ci-cd/.github/workflows/[email protected].1
with:
ci-cd-ref: 'v1.2.0'
secrets: inherit
Expand All @@ -20,7 +20,7 @@ jobs:
name: Linux Reusable Crypto3 Testing
needs:
- handle-syncwith
uses: NilFoundation/ci-cd/.github/workflows/[email protected].0
uses: NilFoundation/ci-cd/.github/workflows/[email protected].1

secrets: inherit
with:
Expand All @@ -33,7 +33,7 @@ jobs:
# name: Mac Reusable Crypto3 Testing
# needs:
# - handle-syncwith
# uses: NilFoundation/ci-cd/.github/workflows/[email protected].0
# uses: NilFoundation/ci-cd/.github/workflows/[email protected].1
#
# secrets: inherit
# with:
Expand Down
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ include(FindPkgConfig)

include(CMSetupVersion)

option(BUILD_TESTS "Build unit tests" TRUE)
option(BUILD_WITH_NO_WARNINGS "Build threading warnings as errors" FALSE)

cm_setup_version(VERSION 0.1.0 PREFIX ${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME})
Expand Down Expand Up @@ -64,9 +63,8 @@ cm_deploy(TARGETS ${CMAKE_WORKSPACE_NAME}_${CURRENT_PROJECT_NAME}
INCLUDE include
NAMESPACE ${CMAKE_WORKSPACE_NAME}::)

if(BUILD_TESTS)
add_subdirectory(test)
endif()
include(CMTest)
cm_add_test_subdirectory(test)

if(BUILD_EXAMPLES)
add_subdirectory(example)
Expand Down

0 comments on commit ec759de

Please sign in to comment.