diff --git a/.github/workflows/app_builder2.yml b/.github/workflows/app_builder2.yml index 1942d83..bc3c743 100644 --- a/.github/workflows/app_builder2.yml +++ b/.github/workflows/app_builder2.yml @@ -42,6 +42,10 @@ on: type: string default: "" description: "Specify the library directory to create a library package using the platform and compiler profiles. A version will not be supplied. The package should default to either 'latest' OR something that the application can understand." + extra_conan_arguments: + type: string + default: "" + description: "Extra arguments to pass to conan create commands" jobs: build: @@ -71,7 +75,7 @@ jobs: - name: 📦 Create Package "${{ inputs.library_dir }}" @ version=latest if: ${{ inputs.library_dir != '' }} - run: conan create ${{ inputs.library_dir }} -pr ${{ inputs.compiler_profile }} -pr ${{ inputs.platform_profile }} --version=latest + run: conan create ${{ inputs.library_dir }} -pr ${{ inputs.compiler_profile }} -pr ${{ inputs.platform_profile }} ${{ inputs.extra_conan_arguments }} --version=latest - name: 🏗️ Build Application for ${{ inputs.profile }} - run: conan build ${{ inputs.dir }} -pr ${{ inputs.compiler_profile }} -pr ${{ inputs.platform_profile }} + run: conan build ${{ inputs.dir }} -pr ${{ inputs.compiler_profile }} -pr ${{ inputs.platform_profile }} ${{ inputs.extra_conan_arguments }} diff --git a/.github/workflows/self_check.yml b/.github/workflows/self_check.yml index b43fda1..c8fb027 100644 --- a/.github/workflows/self_check.yml +++ b/.github/workflows/self_check.yml @@ -244,6 +244,18 @@ jobs: platform_profile: hal/mcu/lpc4074 secrets: inherit + libhal-actuator-demos-lpc4074_extra_args: + needs: changes + if: ${{ needs.changes.outputs.app_builder2 == 'true' }} + uses: ./.github/workflows/app_builder2.yml + with: + repo: libhal/libhal-actuator + dir: demos + compiler_profile: hal/tc/arm-gcc + platform_profile: hal/mcu/lpc4074 + extra_conan_arguments: -b missing + secrets: inherit + libhal-starter-app-lpc4078: needs: changes if: ${{ needs.changes.outputs.app_builder2 == 'true' }}