Cards/Boards Recursive Build #79
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SDK Recursive Build | |
on: | |
workflow_dispatch: | |
jobs: | |
recursiveBuild: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install aiohttp | |
pip install aiofiles | |
pip install requests | |
pip install py7zr | |
pip install elasticsearch==7.13.4 | |
pip install setuptools | |
pip install opencv-python-headless | |
pip install PyQt6 | |
sudo apt-get update | |
sudo apt-get install p7zip-full | |
sudo apt-get install freeglut3-dev | |
sudo apt-get install libevent-dev | |
sudo apt-get install libopus-dev | |
sudo apt-get install libminizip-dev | |
sudo apt-get install libfontconfig1-dev | |
sudo apt-get install libfreetype-dev | |
sudo apt-get install libx11-dev | |
sudo apt-get install libx11-xcb-dev | |
sudo apt-get install libxext-dev | |
sudo apt-get install libxfixes-dev | |
sudo apt-get install libxi-dev | |
sudo apt-get install libxrender-dev | |
sudo apt-get install libxcb1-dev | |
sudo apt-get install libxcb-cursor-dev | |
sudo apt-get install libxcb-glx0-dev | |
sudo apt-get install libxcb-keysyms1-dev | |
sudo apt-get install libxcb-image0-dev | |
sudo apt-get install libxcb-shm0-dev | |
sudo apt-get install libxcb-icccm4-dev | |
sudo apt-get install libxcb-sync-dev | |
sudo apt-get install libxcb-xfixes0-dev | |
sudo apt-get install libxcb-shape0-dev | |
sudo apt-get install libxcb-randr0-dev | |
sudo apt-get install libxcb-render-util0-dev | |
sudo apt-get install libxcb-util-dev | |
sudo apt-get install libxcb-xinerama0-dev | |
sudo apt-get install libxcb-xkb-dev | |
sudo apt-get install libxkbcommon-dev | |
sudo apt-get install libxkbcommon-x11-dev | |
- name: Install NECTO | |
run: | | |
bash scripts/installNecto.sh | |
- name: Run Recursive Build | |
run: | | |
export PATH=$PATH:~/Qt/Tools/QtCreator/bin | |
cd /home/runner/work/SDK-Build-Tool/SDK-Build-Tool | |
git pull | |
git diff origin/main > gitDiff.txt | |
cd /home/runner/work/SDK-Build-Tool/.MIKROE | |
chmod -R u+rwx NECTOStudio7 | |
rm -rf /home/runner/work/SDK-Build-Tool/.MIKROE/NECTOStudio7/packages/sdk/2.11.1/src/* | |
cd /home/runner/work/SDK-Build-Tool/SDK-Build-Tool | |
shopt -s extglob | |
cp -r !(.git|.github|scripts|templates) /home/runner/work/SDK-Build-Tool/.MIKROE/NECTOStudio7/packages/sdk/2.11.1/src/ | |
echo "Running sdk_build_automation" | |
xvfb-run /home/runner/work/SDK-Build-Tool/MikroElektronika/NECTOStudio/bin/sdk_build_automation --compiler "mikrocavr" --sdk "mikrosdk_v2111" --installPrefix "/home/runner/work/SDK-Build-Tool/build_test" |