Reconciles develop to master's latest renovate values for deps bumped on the 2.7 line but never back-merged, so the develop->master 2.8 promotion (#10777) doesn't regress them. Done as a value reconcile, not a cherry-pick: several master commits are superseded (5 device-ui bumps, 2 ststm32 bumps), and develop's stale archive/refs/tags/ URL form actually blocked renovate from bumping these (the regex expects archive/<version>.zip). GitHub Actions: - actions/checkout v6 -> v7 (35 refs) - actions/cache v5 -> v6 - actions/github-script v8 -> v9 (3 refs) - actions/stale v10.2.0 -> v10.3.0 Build / platform: - alpine 3.23 -> 3.24 (alpine.Dockerfile) - platformio/ststm32 19.5.0 -> 19.7.0 - platformio/nordicnrf52 10.11.0 -> 10.12.0 Libraries: - Adafruit SSD1306 2.5.16 -> 2.5.17 - SparkFun MMC5983MA v1.1.4 -> v1.1.5 - Sensirion I2C SCD30 1.0.0 -> 1.1.1 - meshtastic esp8266-oled-ssd1306 6bfd1f1 -> 2e26010 Deliberately excluded: - meshtastic/device-ui digest: coupled to firmware protobuf/API and develop has diverged hard (NodeDB v25); left for a separate maintainer bump + visual check. - libpax: develop uses the mverch67 fork (pinned by Arduino-3.x migration #9122), master uses dbinfrago -- a fork divergence, not a version bump; not reconciled. - platform-native digest: develop already at 61067ac (equal to master).
109 lines
3.1 KiB
YAML
109 lines
3.1 KiB
YAML
name: Setup Build Variant Composite Action
|
|
description: Variant build actions for Meshtastic Platform IO steps
|
|
|
|
inputs:
|
|
board:
|
|
description: The board to build for
|
|
required: true
|
|
github_token:
|
|
description: GitHub token
|
|
required: true
|
|
build-script-path:
|
|
description: Path to the build script
|
|
required: true
|
|
remove-debug-flags:
|
|
description: A space separated list of files to remove debug flags from
|
|
required: false
|
|
default: ""
|
|
ota-firmware-source:
|
|
description: The OTA firmware file to pull
|
|
required: false
|
|
default: ""
|
|
ota-firmware-target:
|
|
description: The target path to store the OTA firmware file
|
|
required: false
|
|
default: ""
|
|
artifact-paths:
|
|
description: A newline separated list of paths to store as artifacts
|
|
required: false
|
|
default: ""
|
|
# include-web-ui:
|
|
# description: Include the web UI in the build
|
|
# required: false
|
|
# default: "false"
|
|
arch:
|
|
description: Processor arch name
|
|
required: true
|
|
default: esp32
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Build base
|
|
id: base
|
|
uses: ./.github/actions/setup-base
|
|
|
|
# - name: Get web ui version
|
|
# if: inputs.include-web-ui == 'true'
|
|
# id: webver
|
|
# shell: bash
|
|
# run: |
|
|
# echo "ver=$(cat bin/web.version)" >> $GITHUB_OUTPUT
|
|
|
|
# - name: Pull web ui
|
|
# if: inputs.include-web-ui == 'true'
|
|
# uses: dsaltares/fetch-gh-release-asset@master
|
|
# with:
|
|
# repo: meshtastic/web
|
|
# file: build.tar
|
|
# target: build.tar
|
|
# token: ${{ inputs.github_token }}
|
|
# version: tags/v${{ steps.webver.outputs.ver }}
|
|
|
|
# - name: Unpack web ui
|
|
# if: inputs.include-web-ui == 'true'
|
|
# shell: bash
|
|
# run: |
|
|
# tar -xf build.tar -C data/static
|
|
# rm build.tar
|
|
|
|
- name: Remove debug flags for release
|
|
shell: bash
|
|
if: inputs.remove-debug-flags != ''
|
|
run: |
|
|
for INI_FILE in ${{ inputs.remove-debug-flags }}; do
|
|
sed -i '/DDEBUG_HEAP/d' ${INI_FILE}
|
|
done
|
|
|
|
- name: PlatformIO ${{ inputs.arch }} download cache
|
|
uses: actions/cache@v6
|
|
with:
|
|
path: ~/.platformio/.cache
|
|
key: pio-cache-${{ inputs.arch }}-${{ hashFiles('.github/actions/**', '**.ini') }}
|
|
|
|
- name: Build ${{ inputs.board }}
|
|
shell: bash
|
|
run: ${{ inputs.build-script-path }} ${{ inputs.board }}
|
|
|
|
- name: Pull OTA Firmware
|
|
if: inputs.ota-firmware-source != '' && inputs.ota-firmware-target != ''
|
|
uses: dsaltares/fetch-gh-release-asset@master
|
|
with:
|
|
repo: meshtastic/firmware-ota
|
|
file: ${{ inputs.ota-firmware-source }}
|
|
target: ${{ inputs.ota-firmware-target }}
|
|
token: ${{ inputs.github_token }}
|
|
|
|
- name: Get release version string
|
|
shell: bash
|
|
run: echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
|
|
id: version
|
|
|
|
- name: Store binaries as an artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: firmware-${{ inputs.arch }}-${{ inputs.board }}-${{ steps.version.outputs.long }}
|
|
overwrite: true
|
|
path: |
|
|
${{ inputs.artifact-paths }}
|