Skip to content

Commit

Permalink
fix build and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
suhrm committed Aug 15, 2024
1 parent 634461a commit c7fa7a4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_mkspecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: Clang Thread Sanitizer Latest
CXX: clang++
cxx_mkspec: --cxx_mkspec=cxx_clang_thread_sanitizer_x64
env: TSAN_OPTIONS="suppressions=../../tsan_suppression.txt"
env:
runs-on:
- self-hosted
- docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
echo "::add-matcher::.github/gcc-problem-matcher.json"
python3 waf
- name: Valgrind Test
run: valgrind --suppressions=valgrind_suppressions.txt build_current/plumr_tests
run: valgrind build_current/test/tunnel_tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
1 change: 1 addition & 0 deletions apps/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ target_compile_features(tunnel_app PUBLIC cxx_std_14)

target_link_libraries(tunnel_app steinwurf::tunnel)
target_link_libraries(tunnel_app steinwurf::asio)
target_link_libraries(tunnel_app steinwurf::platform)
target_link_libraries(tunnel_app CLI11)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
target_link_libraries(tunnel_app stdc++fs)
Expand Down
4 changes: 4 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@ project(tunnel_examples)

add_executable(interface interface.cpp)
target_link_libraries(interface steinwurf::tunnel)
target_link_libraries(interface steinwurf::platform)

add_executable(read_data read_data.cpp)
target_link_libraries(read_data steinwurf::tunnel)
target_link_libraries(read_data steinwurf::platform)

add_executable(sample_tunnel sample_tunnel.cpp)
target_link_libraries(sample_tunnel steinwurf::tunnel)
target_link_libraries(sample_tunnel steinwurf::asio)
target_link_libraries(sample_tunnel CLI11)
target_link_libraries(sample_tunnel steinwurf::platform)

add_executable(backtobacktun backtobacktun.cpp)
target_link_libraries(backtobacktun steinwurf::tunnel)
target_link_libraries(backtobacktun steinwurf::platform)

target_compile_features(interface PUBLIC cxx_std_17)
target_compile_features(read_data PUBLIC cxx_std_17)
Expand Down

0 comments on commit c7fa7a4

Please sign in to comment.