Skip to content

Commit 9a17005

Browse files
sfodsfodagain
authored andcommitted
Add sanitizer CI job (#703)
1 parent 8d28e73 commit 9a17005

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

samples/deprecated/jobs/job_execution/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ find_package(IotJobs-cpp REQUIRED)
2525

2626
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
2727

28+
include(AwsSanitizers)
29+
enable_language(C)
30+
aws_add_sanitizers(${PROJECT_NAME})
31+
2832
target_link_libraries(${PROJECT_NAME} PRIVATE AWS::aws-crt-cpp AWS::IotJobs-cpp)

samples/deprecated/shadow/shadow_sync/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ find_package(IotShadow-cpp REQUIRED)
2525

2626
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
2727

28+
include(AwsSanitizers)
29+
enable_language(C)
30+
aws_add_sanitizers(${PROJECT_NAME})
31+
2832
target_link_libraries(${PROJECT_NAME} PRIVATE AWS::aws-crt-cpp AWS::IotShadow-cpp)

samples/fleet_provisioning/provision-basic/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ find_package(IotIdentity-cpp REQUIRED)
2525

2626
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
2727

28+
include(AwsSanitizers)
29+
enable_language(C)
30+
aws_add_sanitizers(${PROJECT_NAME})
31+
2832
target_link_libraries(${PROJECT_NAME} PRIVATE AWS::aws-crt-cpp AWS::IotIdentity-cpp)

samples/fleet_provisioning/provision-csr/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,8 @@ find_package(IotIdentity-cpp REQUIRED)
2525

2626
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
2727

28+
include(AwsSanitizers)
29+
enable_language(C)
30+
aws_add_sanitizers(${PROJECT_NAME})
31+
2832
target_link_libraries(${PROJECT_NAME} PRIVATE AWS::aws-crt-cpp AWS::IotIdentity-cpp)

0 commit comments

Comments
 (0)