Compare commits
5
Commits
v0.0.7
...
e1ee1c560e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1ee1c560e | ||
|
|
97fb018d51 | ||
|
|
b987f7c21c | ||
|
|
fb2a0865ee | ||
|
|
8ef86500db |
No files matched your search
@@ -1,46 +1,70 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "v*"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: release-${{ gitea.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
PLATFORMIO_BUILD_CACHE_DIR: ~/.platformio/.build_cache
|
PLATFORMIO_BUILD_CACHE_DIR: ~/.platformio/.build_cache
|
||||||
PLATFORMIO_CACHE_DIR: ~/.platformio/.cachedir
|
PLATFORMIO_CACHE_DIR: ~/.platformio/.cachedir
|
||||||
name: Build
|
name: Build ${{ matrix.environment }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
environment:
|
||||||
|
- heltec_wifi_lora_32_V3_sailplane
|
||||||
|
- heltec_wifi_lora_32_V3_winde
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache/pip
|
~/.cache/pip
|
||||||
~/.platformio/.cache
|
~/.platformio/.cache
|
||||||
~/.platformio/.build_cache
|
~/.platformio/.build_cache
|
||||||
~/.platformio/.cachedir
|
~/.platformio/.cachedir
|
||||||
key: ${{ runner.os }}-pio
|
key: ${{ runner.os }}-pio-6.1.18-${{ hashFiles('platformio.ini', 'extra_script.py') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-pio-6.1.18-
|
||||||
|
${{ runner.os }}-pio-
|
||||||
- name: Set up python
|
- name: Set up python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
with:
|
with:
|
||||||
python-version: "3.14.0"
|
python-version: "3.14.0"
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
- name: Install PlatformIO
|
- name: Install PlatformIO
|
||||||
run: python3 -m pip install platformio==6.1.18
|
run: python3 -m pip install platformio==6.1.18
|
||||||
- name: Build firmwares
|
- name: Static analysis
|
||||||
run: FIRMWARE_VERSION=${{gitea.ref_name}} platformio run
|
run: python3 -m platformio check --environment "${{ matrix.environment }}"
|
||||||
- name: Archive
|
- name: Build firmware
|
||||||
uses: christopherhx/gitea-upload-artifact@v4
|
env:
|
||||||
|
FIRMWARE_VERSION: ${{ gitea.ref_name }}
|
||||||
|
run: python3 -m platformio run --environment "${{ matrix.environment }}"
|
||||||
|
- name: Verify firmware and create checksum
|
||||||
|
run: |
|
||||||
|
test -n "$(find ".pio/build/${{ matrix.environment }}" -maxdepth 1 -type f -name 'firmware_*.bin' -print -quit)
|
||||||
|
sha256sum ".pio/build/${{ matrix.environment }}"/firmware_*.bin > "firmware-${{ matrix.environment }}.sha256"
|
||||||
|
- name: Archive firmware
|
||||||
|
uses: christopherhx/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: firmware-${{ matrix.environment }}
|
||||||
path: .pio/build/*/firmware_*.bin
|
path: |
|
||||||
|
.pio/build/${{ matrix.environment }}/firmware_*.bin
|
||||||
|
firmware-${{ matrix.environment }}.sha256
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
# if: startsWith(github.event.ref, 'refs/tags/v')
|
if: startsWith(gitea.ref, 'refs/tags/v')
|
||||||
needs: build
|
needs: build
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -48,17 +72,29 @@ jobs:
|
|||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo for CHANGELOG
|
- name: Checkout repo for CHANGELOG
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
- name: Download artifacts
|
- name: Download Sailplane artifact
|
||||||
uses: christopherhx/gitea-download-artifact@v4
|
uses: christopherhx/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # v4
|
||||||
with:
|
with:
|
||||||
name: firmware
|
name: firmware-heltec_wifi_lora_32_V3_sailplane
|
||||||
path: firmware
|
path: firmware/sailplane
|
||||||
# - name: Display structure of downloaded files
|
- name: Download Winde artifact
|
||||||
# run: ls -R
|
uses: christopherhx/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # v4
|
||||||
- name: release
|
with:
|
||||||
uses: akkuman/gitea-release-action@v1
|
name: firmware-heltec_wifi_lora_32_V3_winde
|
||||||
|
path: firmware/winde
|
||||||
|
- name: Verify release assets
|
||||||
|
run: |
|
||||||
|
test -n "$(find firmware -type f -name 'firmware_*.bin' -print -quit)"
|
||||||
|
test -n "$(find firmware -type f -name '*.sha256' -print -quit)"
|
||||||
|
test -s LICENSE
|
||||||
|
test -s THIRD_PARTY_NOTICES.md
|
||||||
|
- name: Create release
|
||||||
|
uses: akkuman/gitea-release-action@5a83c90484ef4355121df5eb60558c8ce66e81ac # v1
|
||||||
with:
|
with:
|
||||||
files: |-
|
files: |-
|
||||||
**/firmware_*.bin
|
firmware/**/*.bin
|
||||||
body_path: "CHANGELOG.md"
|
firmware/**/*.sha256
|
||||||
|
LICENSE
|
||||||
|
THIRD_PARTY_NOTICES.md
|
||||||
|
body_path: "CHANGELOG.md"
|
||||||
+8
-4
@@ -1,6 +1,10 @@
|
|||||||
CHANGELOG
|
## v0.0.7b (28.08.2026)
|
||||||
|
+ korrektur AutoBuild
|
||||||
|
|
||||||
## 0.0.7 (28.08.2026)
|
## v0.0.7a (28.08.2026)
|
||||||
|
+ verbessertes AutoBuild
|
||||||
|
|
||||||
|
## v0.0.7 (28.08.2026)
|
||||||
+ Webinterface über eigenen WLAN-Access-Point ergänzt
|
+ Webinterface über eigenen WLAN-Access-Point ergänzt
|
||||||
+ Persistente Konfiguration für WLAN-Name, WLAN-Passwort und Callsign
|
+ Persistente Konfiguration für WLAN-Name, WLAN-Passwort und Callsign
|
||||||
+ Lizenzinformationen für Projektcode und Drittanbieterbibliotheken ergänzt
|
+ Lizenzinformationen für Projektcode und Drittanbieterbibliotheken ergänzt
|
||||||
@@ -18,7 +22,7 @@ CHANGELOG
|
|||||||
+ Initialisierung von Servo und LED-Ring korrigiert
|
+ Initialisierung von Servo und LED-Ring korrigiert
|
||||||
+ NMEA-Nachrichtenprüfung und Fehlerbehandlung beim Empfang verbessert
|
+ NMEA-Nachrichtenprüfung und Fehlerbehandlung beim Empfang verbessert
|
||||||
|
|
||||||
## 0.0.6 (18.01.2025)
|
## v0.0.6 (18.01.2026)
|
||||||
+ Anpassung Programmablaufplan
|
+ Anpassung Programmablaufplan
|
||||||
|
|
||||||
### Segeflug Modul
|
### Segeflug Modul
|
||||||
@@ -28,7 +32,7 @@ CHANGELOG
|
|||||||
### Winden Modul
|
### Winden Modul
|
||||||
+ empfangen im NMEA Format
|
+ empfangen im NMEA Format
|
||||||
|
|
||||||
## 0.0.5 (30.11.2025)
|
## v0.0.5 (30.11.2025)
|
||||||
+ Formatierung Code
|
+ Formatierung Code
|
||||||
### Segeflug Modul
|
### Segeflug Modul
|
||||||
+ Luftdrucksensor (BMP180) hinzugefügt, für Höhe und Vario
|
+ Luftdrucksensor (BMP180) hinzugefügt, für Höhe und Vario
|
||||||
|
|||||||
Reference in new issue
Block a user