Conan build-time optimization.
@@ -27,6 +27,13 @@ jobs:
CC: ${{ matrix.compiler[0] }}
CXX: ${{ matrix.compiler[1] }}
run: |
+ # build profile
+ conan profile new release --detect
+ conan profile update settings.build_type=Release release
+ #Note no backwards compatiblity for gcc5 needed, setting libcxx to c++11.
+ conan profile update settings.compiler.libcxx=libstdc++11 release
+ conan profile show release
+ # host profile
conan profile new default --detect
conan profile update settings.build_type=${{ matrix.type }} default
#Note no backwards compatiblity for gcc5 needed, setting libcxx to c++11.
@@ -42,7 +49,7 @@ jobs:
-o celix:build_all=True
run: |
#force require libcurl 7.64.1, due to a sha256 verify issue in libcurl/7.87.0
- conan install . celix/ci -pr:b default -pr:h default -if build ${CONAN_BUILD_OPTIONS} -b missing --require-override=libcurl/7.64.1 --require-override=openssl/1.1.1s
+ conan install . celix/ci -pr:b release -pr:h default -if build ${CONAN_BUILD_OPTIONS} -b missing --require-override=libcurl/7.64.1 --require-override=openssl/1.1.1s
- name: Build
env:
CC: ${{ matrix.compiler[0] }}
@@ -61,7 +68,7 @@ jobs:
CC: ${{ matrix.compiler[0] }}
CXX: ${{ matrix.compiler[1] }}
run: |
- conan create -pr:b default -pr:h default -tf examples/conan_test_package -tbf test-build -o celix:celix_cxx17=True -o celix:celix_install_deprecated_api=True --require-override=libcurl/7.64.1 --require-override=openssl/1.1.1s .
+ conan create -pr:b release -pr:h default -tf examples/conan_test_package -tbf test-build -o celix:celix_cxx17=True -o celix:celix_install_deprecated_api=True --require-override=libcurl/7.64.1 --require-override=openssl/1.1.1s .
build-apt:
runs-on: ubuntu-20.04
