@@ -94,26 +94,26 @@ jobs:
9494 - name : 📡 Create and setup default profile
9595 run : conan profile detect --force
9696
97- - name : 📡 Add conan libhal remote
98- run : conan remote add libhal https://libhal.jfrog.io/artifactory/api/conan/trunk-conan
99-
10097 - name : 📡 Add conan user remote-package-repo
10198 if : ${{ inputs.remote_url != '' }}
10299 run : conan remote add --force remote-package-repo ${{ inputs.remote_url }}
103100 # We use --force to allow the remote-package-repo to also be the libhal
104101 # repo.
105102
106- - name : 📡 Install libhal settings_user.yml
103+ - name : 📡 Install libhal conan configs v2
107104 run : conan config install https://github.com/libhal/conan-config2.git --args="-b ${{ inputs.config2_version }}"
108105
106+ - name : 📡 Perform conan hal setup
107+ run : conan hal setup
108+
109109 - name : 📦 Create `Debug` package for ${{ inputs.profile }}
110- run : conan create ${{ inputs.dir }} -s:h build_type=Debug -s:h os=${{ inputs.os }} -s:h arch=${{ inputs.arch }} --version=${{ inputs.version }} -pr:h ${{ inputs.compiler_profile }} --build=missing ${{ inputs.extra_conan_arguments }}
110+ run : conan create ${{ inputs.dir }} --build="${{ inputs.library }}/*" - s:h build_type=Debug -s:h os=${{ inputs.os }} -s:h arch=${{ inputs.arch }} --version=${{ inputs.version }} -pr:h ${{ inputs.compiler_profile }} --build=missing ${{ inputs.extra_conan_arguments }}
111111
112112 - name : 📦 Create `MinSizeRel` package for ${{ inputs.profile }}
113- run : conan create ${{ inputs.dir }} -s:h build_type=MinSizeRel -s:h os=${{ inputs.os }} -s:h arch=${{ inputs.arch }} --version=${{ inputs.version }} -pr:h ${{ inputs.compiler_profile }} --build=missing ${{ inputs.extra_conan_arguments }}
113+ run : conan create ${{ inputs.dir }} --build="${{ inputs.library }}/*" - s:h build_type=MinSizeRel -s:h os=${{ inputs.os }} -s:h arch=${{ inputs.arch }} --version=${{ inputs.version }} -pr:h ${{ inputs.compiler_profile }} --build=missing ${{ inputs.extra_conan_arguments }}
114114
115115 - name : 📦 Create `Release` package for ${{ inputs.profile }}
116- run : conan create ${{ inputs.dir }} -s:h build_type=Release -s:h os=${{ inputs.os }} -s:h arch=${{ inputs.arch }} --version=${{ inputs.version }} -pr:h ${{ inputs.compiler_profile }} --build=missing ${{ inputs.extra_conan_arguments }}
116+ run : conan create ${{ inputs.dir }} --build="${{ inputs.library }}/*" - s:h build_type=Release -s:h os=${{ inputs.os }} -s:h arch=${{ inputs.arch }} --version=${{ inputs.version }} -pr:h ${{ inputs.compiler_profile }} --build=missing ${{ inputs.extra_conan_arguments }}
117117
118118 - name : 📡 Sign into Conan Package Repository
119119 if : ${{ inputs.version != 'latest' && inputs.remote_url != '' && env.CONAN_REMOTE_USER != '' && env.CONAN_REMOTE_PASSWORD != '' }}
0 commit comments