Linux Build #5
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: linux | |
run-name: Linux Build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
# cache: "pip" | |
- name: Install dependencies | |
run: | | |
sudo apt update -y | |
sudo apt upgrade -y | |
sudo apt install ccache | |
sudo apt install clang | |
python -m pip install --upgrade pip | |
pip install pyside6 | |
pip install pyocd | |
pip install nuitka | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Build MCUProg | |
run: | | |
python -m nuitka --main=MCUProg.py | |