little fix cmake + little fix github pipelines #636
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
Install, enscriptem and macos pipelines were failing.
Install because there was
find_package(ut )
with specific old version if BOOST_UT_TEST_INSTALLED_VERSION attest/CMakeLists.txt
.enscriptem because there was ask specific ask for
set(CMAKE_CXX_STANDARD 20)
attest/CMakeLists.txt
and there was an example that could not be compiled. I've fixed cmake and wrapped with macro the failing part of the examplemacos was failing because it couldn't install pyyaml. After my friend at live through discord tried to reproduce and made mistake, it was found out that
pipx install pyaml
works, butpipx install pyyaml
doesn't work. IDK why. Though, there's test fail at macos pipeline, and a guy said it's because source_location is broken on macos.Also there was some bad docstring for BOOST_UT_ENABLE_SANITIZERS .
Also added two
.sh
scripts at tests for easy checking of installed version.Also all cmake commands at pipelines now produce more verbose output and some commands parallelized at -j4 .
maybe review, please
@krzysztof-jusiak