pnoltes commented on code in PR #855:
URL: https://github.com/apache/celix/pull/855#discussion_r4700209933
##########
.github/workflows/macos.yml:
##########
@@ -52,60 +56,15 @@ jobs:
env:
CONAN_BUILD_OPTIONS: |
-o celix/*:enable_testing=True
- -o celix/*:enable_address_sanitizer=True
-o celix/*:build_all=True
+ -o celix/*:enable_testing_for_cxx14=True
+ -o celix/*:enable_testing_dependency_manager_for_cxx11=True
-o celix/*:enable_cmake_warning_tests=True
-o celix/*:enable_testing_on_ci=True
-o celix/*:framework_curlinit=False
-o celix/*:enable_ccache=True
- -o celix/*:enable_testing_for_cxx14=True
- -o celix/*:enable_testing_dependency_manager_for_cxx11=True
run: |
- conan build . -c tools.cmake.cmaketoolchain:generator=Ninja -pr:b
default -pr:h default -s:b build_type=Release -s:h build_type=Release -of build
${CONAN_BUILD_OPTIONS} -b missing -b cpputest
+ conan build . -c tools.cmake.cmaketoolchain:generator=Ninja -pr:b
default -pr:h default -s:b build_type=Release -s:h build_type=Release
${CONAN_BUILD_OPTIONS} -b missing
- name: Test
- run: |
- cd build
- source conanrun.sh
- ctest --output-on-failure
- source deactivate_conanrun.sh
+ run: ctest --preset conan-release --output-on-failure -j1
Review Comment:
To reduce the number of build variations a bit. I think it is good that we
support macOS, but our primary focus is Linux. So I chose to remove the macOS
brew build and keep the Conan setup, also with Conan to builds contain less
variations (more aligned dependency versions).
If preferred, I can bring back the macOS brew build, but I expect this will
take a few pushes to get right.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]