This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch feature/579-automatic-dependency-deduction
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/579-automatic-dependency-deduction by this push:
     new 7b184f22 Add install step for conan create CI test.
7b184f22 is described below

commit 7b184f22a732528383337b08823d9c8ba750e329
Author: PengZheng <[email protected]>
AuthorDate: Sat Jul 15 13:02:20 2023 +0800

    Add install step for conan create CI test.
---
 .github/workflows/conan_create.yml | 25 +++++++------------------
 1 file changed, 7 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/conan_create.yml 
b/.github/workflows/conan_create.yml
index c73261f9..89b7c314 100644
--- a/.github/workflows/conan_create.yml
+++ b/.github/workflows/conan_create.yml
@@ -39,27 +39,16 @@ jobs:
           #Note no backwards compatiblity for gcc5 needed, setting libcxx to 
c++11.
           conan profile update settings.compiler.libcxx=libstdc++11 default
           conan profile show default
-      - name: Create Celix
+      - name: Configure and install dependencies
         env:
           CC: ${{ matrix.compiler[0] }}
           CXX: ${{ matrix.compiler[1] }}
         run: |
-          conan inspect . -a options | awk 'BEGIN { FS="[\t:]+" } /build/ && 
!/build_all/ { print $1}' | while read option; do conan create . -b missing -o 
celix:${option}=True  -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 || exit 1; done
-
-  macOS-build:
-    runs-on: macOS-11
-    timeout-minutes: 120
-    steps:
-      - name: Checkout source code
-        uses: actions/[email protected]
-      - name: Install conan
-        run: |
-          brew install python
-          pip3 install -U conan==1.59.0
-      - name: Setup Conan Profile
-        run: |
-          conan profile new default --detect
-          conan profile update settings.build_type=Release default
+          #force require libcurl 7.64.1, due to a sha256 verify issue in 
libcurl/7.87.0
+          conan install . celix/ci -pr:b release -pr:h default -if build -o 
celix:build_all=True -b missing --require-override=libcurl/7.64.1 
--require-override=openssl/1.1.1s
       - name: Create Celix
+        env:
+          CC: ${{ matrix.compiler[0] }}
+          CXX: ${{ matrix.compiler[1] }}
         run: |
-          conan inspect . -a options | awk 'BEGIN { FS="[\t:]+" } /build/ && 
!/build_all/ { print $1}' | while read option; do conan create . -b missing -o 
celix:${option}=True  -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 || exit 1; done
+          conan inspect . -a options | awk 'BEGIN { FS="[\t:]+" } /build/ && 
!/build_all/ { print $1}' | while read option; do conan create . -b missing -o 
celix:${option}=True  -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 || exit 1; done
\ No newline at end of file

Reply via email to