ci: add ci action to build firmware
Some checks failed
Build ESP32 BMC Firmware / build (push) Failing after 58s
Some checks failed
Build ESP32 BMC Firmware / build (push) Failing after 58s
This commit is contained in:
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user