Skip to content

Feat: Add make support for Python projects involving C code#126

Merged
ModeSevenIndustrialSolutions merged 1 commit intolfreleng-actions:mainfrom
modeseven-lfreleng-actions:add-make-support
Dec 31, 2025
Merged

Feat: Add make support for Python projects involving C code#126
ModeSevenIndustrialSolutions merged 1 commit intolfreleng-actions:mainfrom
modeseven-lfreleng-actions:add-make-support

Conversation

@ModeSevenIndustrialSolutions
Copy link
Contributor

Allows for scripted steps prior to invoking the python build.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for running make commands before the Python build process, enabling better support for Python projects that include C code or other components requiring compilation or preparation steps.

Key Changes:

  • Adds two new input parameters: make (boolean) to enable make execution, and make_args (string) for passing arguments to the make command
  • Implements a two-step process: argument preparation that handles path_prefix integration, followed by conditional make execution via the lfreleng-actions/make-action
  • Updates testing workflow to validate the new functionality with multi-architecture builds

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
action.yaml Adds make and make_args input definitions; implements make argument preparation step that integrates with path_prefix; adds conditional make execution step using external make-action; includes unrelated yamllint comment addition
README.md Documents the two new input parameters in the inputs table
.github/workflows/testing.yaml Enables make testing in the multi-architecture test job with parallel build arguments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This comment was marked as outdated.

- Allows for scripted steps prior to invoking the python build
- Add make calls/args/inputs to MULTI_ARCH_TEST_PROJECTS build

Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ModeSevenIndustrialSolutions ModeSevenIndustrialSolutions merged commit 8b6a803 into lfreleng-actions:main Dec 31, 2025
5 checks passed
@ModeSevenIndustrialSolutions ModeSevenIndustrialSolutions deleted the add-make-support branch December 31, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants