Skip to content

Fix unit tests build #21

Fix unit tests build

Fix unit tests build #21

Workflow file for this run

name: Build Firmware
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
env:
PROJECT_PATH: $HOME/app
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
path: ${{ env.PROJECT_PATH }}
- name: Set up and Build Environment
uses: ./.github/actions/esp32_build_env
with:
IDF_PATH: $HOME/esp-idf
PROJECT_PATH: ${{ env.PROJECT_PATH }}
- name: Build All Firmware
run: |
cd $HOME/app
. $HOME/esp-idf/export.sh
tools/scripts/build_all.sh
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
"${{ env.PROJECT_PATH }}/**/build/*.bin"
"${{ env.PROJECT_PATH }}/**/build/*.elf"
"${{ env.PROJECT_PATH }}/**/build/flash_project_args"