mirror of
https://github.com/meshtastic/firmware.git
synced 2026-08-01 10:58:30 -04:00
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).
76 lines
2.6 KiB
YAML
76 lines
2.6 KiB
YAML
name: Build Debian Source Package
|
|
|
|
on:
|
|
workflow_call:
|
|
secrets:
|
|
PPA_GPG_PRIVATE_KEY:
|
|
required: false
|
|
inputs:
|
|
series:
|
|
description: Ubuntu/Debian series to target
|
|
required: true
|
|
type: string
|
|
build_location:
|
|
description: Location where build will execute
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-debian-src:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v7
|
|
with:
|
|
submodules: recursive
|
|
path: meshtasticd
|
|
|
|
- name: Install deps
|
|
shell: bash
|
|
working-directory: meshtasticd
|
|
run: |
|
|
# Build-tools (notably platformio) come from the Meshtastic project
|
|
# on the OpenSUSE Build Service:
|
|
# https://build.opensuse.org/project/show/network:Meshtastic:build-tools
|
|
echo 'deb http://download.opensuse.org/repositories/network:/Meshtastic:/build-tools/xUbuntu_24.04/ /' \
|
|
| sudo tee /etc/apt/sources.list.d/network:Meshtastic:build-tools.list
|
|
curl -fsSL https://download.opensuse.org/repositories/network:Meshtastic:build-tools/xUbuntu_24.04/Release.key \
|
|
| gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/network_Meshtastic_build-tools.gpg >/dev/null
|
|
sudo apt-get update -y --fix-missing
|
|
sudo apt-get install -y build-essential devscripts equivs
|
|
sudo mk-build-deps --install --remove --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control
|
|
|
|
- name: Import GPG key
|
|
if: github.event_name != 'pull_request' && github.event_name != 'pull_request_target'
|
|
uses: crazy-max/ghaction-import-gpg@v7
|
|
with:
|
|
gpg_private_key: ${{ secrets.PPA_GPG_PRIVATE_KEY }}
|
|
id: gpg
|
|
|
|
- name: Get release version string
|
|
working-directory: meshtasticd
|
|
run: |
|
|
echo "deb=$(./bin/buildinfo.py deb)" >> $GITHUB_OUTPUT
|
|
env:
|
|
BUILD_LOCATION: ${{ inputs.build_location }}
|
|
id: version
|
|
|
|
- name: Fetch libdeps, package debian source
|
|
working-directory: meshtasticd
|
|
run: debian/ci_pack_sdeb.sh
|
|
env:
|
|
SERIES: ${{ inputs.series }}
|
|
GPG_KEY_ID: ${{ steps.gpg.outputs.keyid || '' }}
|
|
PKG_VERSION: ${{ steps.version.outputs.deb }}
|
|
|
|
- name: Store binaries as an artifact
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: firmware-debian-${{ steps.version.outputs.deb }}~${{ inputs.series }}-src
|
|
overwrite: true
|
|
path: |
|
|
meshtasticd_${{ steps.version.outputs.deb }}*
|