Release v0.1.5.4 prepare for release
This commit is contained in:
@ -128,6 +128,7 @@ if(ENABLE_LLVM_COVERAGE)
|
|||||||
coverage_llvm
|
coverage_llvm
|
||||||
COMMAND ${CMAKE_COMMAND} -E env
|
COMMAND ${CMAKE_COMMAND} -E env
|
||||||
LLVM_PROFILE_FILE=${CMAKE_BINARY_DIR}/coverage/%p-%m.profraw
|
LLVM_PROFILE_FILE=${CMAKE_BINARY_DIR}/coverage/%p-%m.profraw
|
||||||
|
PRIVATEBIN_IT=0
|
||||||
ctest -C $<IF:$<CONFIG:>,${CMAKE_BUILD_TYPE},$<CONFIG>> --output-on-failure
|
ctest -C $<IF:$<CONFIG:>,${CMAKE_BUILD_TYPE},$<CONFIG>> --output-on-failure
|
||||||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/coverage
|
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/coverage
|
||||||
COMMAND ${LLVM_PROFDATA} merge -sparse ${CMAKE_BINARY_DIR}/coverage/*.profraw -o ${CMAKE_BINARY_DIR}/coverage/merged.profdata
|
COMMAND ${LLVM_PROFDATA} merge -sparse ${CMAKE_BINARY_DIR}/coverage/*.profraw -o ${CMAKE_BINARY_DIR}/coverage/merged.profdata
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
test_basic 11 0
|
test_basic 12 0.570438
|
||||||
example_run 0 0
|
example_run 0 0
|
||||||
---
|
---
|
||||||
test_basic
|
|
||||||
example_run
|
example_run
|
||||||
|
|||||||
Binary file not shown.
@ -112,7 +112,7 @@ cd C:\Users\mbusc\source\repos\privatebin-cpp\build-clang
|
|||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
C:
|
C:
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw ctest -C Debug --output-on-failure
|
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw PRIVATEBIN_IT=0 ctest -C Debug --output-on-failure
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
@ -138,7 +138,7 @@ cd C:\Users\mbusc\source\repos\privatebin-cpp\build-clang
|
|||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
C:
|
C:
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw ctest -C Release --output-on-failure
|
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw PRIVATEBIN_IT=0 ctest -C Release --output-on-failure
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
@ -164,7 +164,7 @@ cd C:\Users\mbusc\source\repos\privatebin-cpp\build-clang
|
|||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
C:
|
C:
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw ctest -C MinSizeRel --output-on-failure
|
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw PRIVATEBIN_IT=0 ctest -C MinSizeRel --output-on-failure
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
@ -190,7 +190,7 @@ cd C:\Users\mbusc\source\repos\privatebin-cpp\build-clang
|
|||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
C:
|
C:
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw ctest -C RelWithDebInfo --output-on-failure
|
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw PRIVATEBIN_IT=0 ctest -C RelWithDebInfo --output-on-failure
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
|
|||||||
@ -4,7 +4,7 @@ cd C:\Users\mbusc\source\repos\privatebin-cpp\build-clang
|
|||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
C:
|
C:
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw ctest -C Release --output-on-failure
|
"C:\Program Files\CMake\bin\cmake.exe" -E env LLVM_PROFILE_FILE=C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage/%p-%m.profraw PRIVATEBIN_IT=0 ctest -C Release --output-on-failure
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
"C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/mbusc/source/repos/privatebin-cpp/build-clang/coverage
|
||||||
if %errorlevel% neq 0 goto :cmEnd
|
if %errorlevel% neq 0 goto :cmEnd
|
||||||
|
|||||||
@ -102,6 +102,8 @@ try {
|
|||||||
& cmake @cmakeArgs | Out-Null
|
& cmake @cmakeArgs | Out-Null
|
||||||
if ($LASTEXITCODE -ne 0) { throw "CMake-Konfiguration für Coverage fehlgeschlagen" }
|
if ($LASTEXITCODE -ne 0) { throw "CMake-Konfiguration für Coverage fehlgeschlagen" }
|
||||||
|
|
||||||
|
# Run coverage target with integration tests disabled to avoid rate limits
|
||||||
|
$env:PRIVATEBIN_IT = '0'
|
||||||
& cmake --build build-clang --config Release --target coverage_llvm
|
& cmake --build build-clang --config Release --target coverage_llvm
|
||||||
if ($LASTEXITCODE -ne 0) { throw "Coverage-Build fehlgeschlagen" }
|
if ($LASTEXITCODE -ne 0) { throw "Coverage-Build fehlgeschlagen" }
|
||||||
|
|
||||||
@ -223,7 +225,7 @@ if (Test-Path $distPath) {
|
|||||||
foreach ($artifact in $artifacts) {
|
foreach ($artifact in $artifacts) {
|
||||||
Write-Host "Lade hoch: $($artifact.Name)..." -ForegroundColor Yellow
|
Write-Host "Lade hoch: $($artifact.Name)..." -ForegroundColor Yellow
|
||||||
|
|
||||||
$uploadUri = "https://gitea.medisoftware.org/api/v1/repos/Markus/lib-privatebin/releases/$($release.id)/assets"
|
$uploadUri = "https://$gitHost/api/v1/repos/$owner/$repoName/releases/$($release.id)/assets"
|
||||||
|
|
||||||
$boundary = [System.Guid]::NewGuid().ToString()
|
$boundary = [System.Guid]::NewGuid().ToString()
|
||||||
$LF = "`r`n"
|
$LF = "`r`n"
|
||||||
|
|||||||
Reference in New Issue
Block a user