2024-03-07 14:03:01 +00:00
|
|
|
name: Build ESP32-C3
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
board:
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
|
2024-03-08 09:03:03 +00:00
|
|
|
permissions: read-all
|
|
|
|
|
2024-03-07 14:03:01 +00:00
|
|
|
jobs:
|
|
|
|
build-esp32-c3:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-09-22 11:39:35 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
2024-09-24 05:47:31 +00:00
|
|
|
- name: Build ESP32-C3
|
|
|
|
id: build
|
|
|
|
uses: ./.github/actions/build-variant
|
2024-09-22 11:39:35 +00:00
|
|
|
with:
|
2024-09-24 05:47:31 +00:00
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
board: ${{ inputs.board }}
|
2024-09-24 07:41:40 +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-c3.bin
|
|
|
|
ota-firmware-target: release/bleota-c3.bin
|
|
|
|
artifact-paths: |
|
2024-03-07 14:03:01 +00:00
|
|
|
release/*.bin
|
|
|
|
release/*.elf
|