Update building_gs_image_rpi.md #10
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: Build Firmware | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
project: [air_firmware_esp32cam, air_firmware_esp32s3sense, air_firmware_esp32s3sense_ov5640] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install required Python dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
- name: Install PlatformIO lastest | |
run: | | |
python -m pip install --upgrade pip | |
pip install platformio | |
- name: Build firmware | |
run: | | |
platformio run -d ${{ matrix.project }} | |
- name: Upload firmware binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.project }}-firmware | |
path: ${{ matrix.project }}/.pio/build/**/*.bin |