mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
ci: build dual OLED and dual e-ink firmwares in parallel
Split the single build job into two independent jobs: - build-oled: checks out wio-tracker-l1-improvements, builds WioTrackerL1_companion_radio_dual_settings - build-eink: checks out eink-ui, builds WioTrackerL1Eink_companion_radio_dual Both artifacts are merged into a single draft release. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,29 +14,54 @@ env:
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
build-oled:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Clone Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: wio-tracker-l1-improvements
|
||||
|
||||
- name: Setup Build Environment
|
||||
uses: ./.github/actions/setup-build-environment
|
||||
|
||||
- name: Build Firmwares
|
||||
- name: Build Dual OLED Firmware
|
||||
env:
|
||||
FIRMWARE_VERSION: ${{ env.GIT_TAG_VERSION }}
|
||||
run: /usr/bin/env bash build.sh build-wio-tracker-l1-firmwares
|
||||
|
||||
- name: Upload Workflow Artifacts
|
||||
- name: Upload OLED Firmware
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wio-tracker-l1-firmwares
|
||||
name: wio-tracker-l1-oled-firmware
|
||||
path: out
|
||||
|
||||
build-eink:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Clone Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: eink-ui
|
||||
|
||||
- name: Setup Build Environment
|
||||
uses: ./.github/actions/setup-build-environment
|
||||
|
||||
- name: Build Dual E-ink Firmware
|
||||
env:
|
||||
FIRMWARE_VERSION: ${{ env.GIT_TAG_VERSION }}
|
||||
run: /usr/bin/env bash build.sh build-firmware WioTrackerL1Eink_companion_radio_dual
|
||||
|
||||
- name: Upload E-ink Firmware
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: wio-tracker-l1-eink-firmware
|
||||
path: out
|
||||
|
||||
release:
|
||||
needs: [build]
|
||||
needs: [build-oled, build-eink]
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
@@ -44,10 +69,16 @@ jobs:
|
||||
- name: Extract Version from Git Tag
|
||||
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#*-v}" >> $GITHUB_ENV
|
||||
|
||||
- name: Download Firmwares
|
||||
- name: Download OLED Firmware
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: wio-tracker-l1-firmwares
|
||||
name: wio-tracker-l1-oled-firmware
|
||||
path: out
|
||||
|
||||
- name: Download E-ink Firmware
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: wio-tracker-l1-eink-firmware
|
||||
path: out
|
||||
|
||||
- name: Create Release
|
||||
|
||||
Reference in New Issue
Block a user