Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/app_builder2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
12 changes: 12 additions & 0 deletions .github/workflows/self_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
Loading