From 4ad5da7bf46914df8b591d5b7ee83b1fa26d68ee Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Thu, 12 Mar 2026 11:10:14 +0100 Subject: [PATCH] ci: add ci action to build firmware --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f8fdb42 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build ESP32 BMC Firmware + +on: + push: + branches: [ main, master ] + pull_request: + branches: [ main, master ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Build firmware with ESP-IDF + uses: espressif/esp-idf-ci-action@v1 + with: + esp_idf_version: release-v6.0 + target: esp32s3 + + - name: Upload build artifacts + uses: actions/upload-artifact@v4 + with: + name: esp32-bmc-firmware + path: | + build/*.bin + build/bootloader/*.bin + build/partition_table/*.bin + build/flasher_args.json + build/project_description.json