This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch feature/update_github_actions
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/feature/update_github_actions
by this push:
new add23bbc Conan build-time optimization.
add23bbc is described below
commit add23bbc14daca50f50354ceff89d4d0f6ba7746
Author: PengZheng <[email protected]>
AuthorDate: Thu Jan 19 20:28:09 2023 +0800
Conan build-time optimization.
---
.github/workflows/ubuntu.yml | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 3ef848f9..1f9a3e94 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -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