diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5d03ea7 --- /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: https://github.com/christopherHX/gitea-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