Skip to content

Commit

Permalink
CI shenanigans woes
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Boasson <[email protected]>
  • Loading branch information
eboasson committed Mar 6, 2024
1 parent 3bb3ce5 commit e44915b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .azure/templates/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ steps:
fi
crosscompiling=
if [[ "${SHAREDLIBS:-on}" == "off" ]] ; then
PATH="${BUILD_SOURCESDIRECTORY}/build-sharedlibs/install/bin:${PATH}"
prefix_path="${BUILD_SOURCESDIRECTORY}/build-sharedlibs/install:${prefix_path}"
crosscompiling="-DCMAKE_CROSSCOMPILING=1 -DCMAKE_SYSTEM_NAME=${AGENT_OS}"
fi
cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
Expand Down
3 changes: 1 addition & 2 deletions src/core/ddsc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ install(
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
COMPONENT dev)

# TODO: improve test inclusion.
if((BUILD_TESTING) AND (BUILD_IDLC) AND ((NOT DEFINED MSVC_VERSION) OR (MSVC_VERSION GREATER "1800")))
if((BUILD_TESTING) AND ((NOT DEFINED MSVC_VERSION) OR (MSVC_VERSION GREATER "1800")))
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/tests")
endif()
2 changes: 1 addition & 1 deletion src/security/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ target_include_directories(security_core
"$<BUILD_INTERFACE:$<TARGET_PROPERTY:ddsc,INTERFACE_INCLUDE_DIRECTORIES>>"
)

if(BUILD_TESTING AND BUILD_IDLC)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()

Expand Down

0 comments on commit e44915b

Please sign in to comment.