mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
9f8d86cb25
* poc: consolidate variant build steps * use build-variant action * only checkout once and clean up after run
32 lines
793 B
YAML
32 lines
793 B
YAML
name: Build ESP32
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
board:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
build-esp32:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Build ESP32
|
|
id: build
|
|
uses: ./.github/actions/build-variant
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
board: ${{ inputs.board }}
|
|
remove-debug-flags: |
|
|
./arch/esp32/esp32.ini
|
|
./arch/esp32/esp32s2.ini
|
|
./arch/esp32/esp32s3.ini
|
|
./arch/esp32/esp32c3.ini
|
|
build-script-path: bin/build-esp32.sh
|
|
ota-firmware-source: firmware.bin
|
|
ota-firmware-target: release/bleota.bin
|
|
artifact-paths: |
|
|
release/*.bin
|
|
release/*.elf
|
|
include-web-ui: true
|