ci: add Wio Tracker L1 firmware build and release workflow

Builds and releases only the _settings companion firmware variants
(USB and BLE) which contain the settings screen with display brightness,
buzzer, TX power, auto-off, GPS interval, timezone, low battery threshold,
and battery display mode.

Triggers on tags matching 'wio-tracker-*' (e.g. wio-tracker-v1.0.0)
or manually via workflow_dispatch. Creates a draft GitHub release.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-10 15:37:14 +02:00
parent 6c8a2cbdea
commit 639183d101
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
name: Build Wio Tracker L1 Firmwares
permissions:
contents: write
on:
workflow_dispatch:
push:
tags:
- 'wio-tracker-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Setup Build Environment
uses: ./.github/actions/setup-build-environment
- name: Build Firmwares
env:
FIRMWARE_VERSION: ${{ env.GIT_TAG_VERSION }}
run: /usr/bin/env bash build.sh build-wio-tracker-l1-firmwares
- name: Upload Workflow Artifacts
uses: actions/upload-artifact@v4
with:
name: wio-tracker-l1-firmwares
path: out
- name: Create Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: Wio Tracker L1 Firmware ${{ env.GIT_TAG_VERSION }}
body: ""
draft: true
files: out/*

View File

@@ -230,6 +230,11 @@ build_companion_firmwares() {
} }
build_wio_tracker_l1_firmwares() {
build_firmware "WioTrackerL1_companion_radio_usb_settings"
build_firmware "WioTrackerL1_companion_radio_ble_settings"
}
build_room_server_firmwares() { build_room_server_firmwares() {
# # build specific room server firmwares # # build specific room server firmwares
@@ -275,6 +280,8 @@ elif [[ $1 == "build-companion-firmwares" ]]; then
build_companion_firmwares build_companion_firmwares
elif [[ $1 == "build-repeater-firmwares" ]]; then elif [[ $1 == "build-repeater-firmwares" ]]; then
build_repeater_firmwares build_repeater_firmwares
elif [[ $1 == "build-wio-tracker-l1-firmwares" ]]; then
build_wio_tracker_l1_firmwares
elif [[ $1 == "build-room-server-firmwares" ]]; then elif [[ $1 == "build-room-server-firmwares" ]]; then
build_room_server_firmwares build_room_server_firmwares
fi fi