2022-11-19 22:03:55 +00:00
|
|
|
name: Build ESP32
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
board:
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
|
2023-01-27 16:22:17 +00:00
|
|
|
jobs:
|
2022-11-19 22:03:55 +00:00
|
|
|
build-esp32:
|
2024-09-18 06:11:08 +00:00
|
|
|
runs-on: ubuntu-latest
|
2022-11-19 23:43:18 +00:00
|
|
|
steps:
|
2024-09-22 11:39:35 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
2022-11-19 23:43:18 +00:00
|
|
|
- name: Build ESP32
|
2024-09-24 05:47:31 +00:00
|
|
|
id: build
|
|
|
|
uses: ./.github/actions/build-variant
|
2022-11-19 23:43:18 +00:00
|
|
|
with:
|
2024-09-24 05:47:31 +00:00
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
board: ${{ inputs.board }}
|
2024-09-24 08:27:46 +00:00
|
|
|
remove-debug-flags: >-
|
2024-09-24 05:47:31 +00:00
|
|
|
./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: |
|
2022-11-19 23:43:18 +00:00
|
|
|
release/*.bin
|
|
|
|
release/*.elf
|
2024-09-24 05:47:31 +00:00
|
|
|
include-web-ui: true
|