mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
c72612d826
* sed doesn't like newlines * fold remove-debug-flags block * PATH is a system env var * Runners don't like rm -f ${workspace path}
35 lines
835 B
YAML
35 lines
835 B
YAML
name: Build ESP32-C3
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
board:
|
|
required: true
|
|
type: string
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
build-esp32-c3:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build ESP32-C3
|
|
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-c3.bin
|
|
ota-firmware-target: release/bleota-c3.bin
|
|
artifact-paths: |
|
|
release/*.bin
|
|
release/*.elf
|