-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding SDK Recursive Build Tool #15
base: master
Are you sure you want to change the base?
Conversation
…ild.yaml workflow
sudo apt-get install libxcb-keysyms1-dev | ||
sudo apt-get install libxkbcommon-x11-dev | ||
|
||
- name: Install NECTO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change the workflow so that NECTO is installed after checking for changed files.
In other words install it only if there is a need to run the automated builds.
I assume you will need to split the recursive_build
into two scripts.
|
||
for file in changes_dict['changed_files']: | ||
# Ensure we handle paths correctly. | ||
file = file.replace('\\', '/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use pythons os.sep()
, so there is no need to correct this for defferent OS'es
export BUILD_ALL=0 | ||
echo "Building only changed files." | ||
fi | ||
python -u scripts/recursive_build.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the option to skip the build entirely. Maybe a script parameter which checks a commit message variable or branch name.
Automated MCU Setup Building Tool with mikroSDK Support in NECTOStudio
Overview
This tool automates recursive setup builds for all MCUs, MCU cards, and Boards affected by changes to mikroSDK files. It ensures changes don't cause build failures, allowing safe merging to the master branch and live release.
Workflow Steps
1. Prepare Your Branch
2. Draft a New Release
3. Update Release
4. Index Latest Release
5. If Adding MCU Card/Board
necto_db.db
in your branch in the core_packages repo.6. Run SDK Recursive Build
Results
Detailed Workflow
1. Dependency Installation
2. File Changes Detection
bsp/board/include/boards
), MCU Cards (bsp/board/include/mcu_cards
), MCUs (target
), or general SDK files (other folders).3. Classification Logic
_MSDK_BOARD_NAME_
fromboard.cmake
for SQL queries.4. Data Retrieval via SQL Queries
5. Build Execution
6. Artifacts Collection
Additional Option