Skip to content
Snippets Groups Projects
Verified Commit 45e73861 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Actually set coverage env flag

parent 9ef811f6
No related branches found
No related tags found
No related merge requests found
Pipeline #985 canceled
......@@ -77,6 +77,7 @@ build synapse arm64:
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF
-DCMAKE_BUILD_TYPE=Release -DHUNTER_CONFIGURATION_TYPES=Debug
-DCI_BUILD=ON
-DCOVERAGE=${COVERAGE}
- cmake --build build
- MTXCLIENT_SERVER=synapse GTEST_OUTPUT=xml:junit-output/ make test
cache:
......@@ -95,6 +96,7 @@ build linux amd64:
tags: [docker]
variables:
M_ARCH: x86_64
COVERAGE: "ON"
after_script:
- ./.ci/coverage.sh && bash <(curl -s https://codecov.io/bash) -f build/coverage.info || echo "Codecov failed"
......
......@@ -19,6 +19,9 @@ CHECK_INCLUDE_FILE_CXX("filesystem" HAVE_STD_FILESYSTEM)
if (HAVE_STD_FILESYSTEM)
add_executable(media_downloader media_downloader.cpp)
target_link_libraries(media_downloader MatrixClient::MatrixClient)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_link_libraries(media_downloader stdc++fs)
endif()
endif()
add_executable(simple_bot simple_bot.cpp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment