Serial number #16
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: Firmware release | |
on: | |
pull_request: | |
jobs: | |
firmware-build: | |
name: Firmware build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Installing platformio | |
run: pip3 install -U platformio | |
- name: Virutalnenv install | |
run: | | |
python3 -m venv /home/runner/.platformio/penv | |
source /home/runner/.platformio/penv/bin/activate | |
pip install catkin_pkg empy | |
pip install --upgrade pip setuptools | |
- name: Building a firmware for STM32 | |
run: git submodule update --init --recursive && pio run |