More AI slop

This commit is contained in:
2025-07-29 21:56:27 +03:00
parent 5fdc005613
commit 56f5ee0af9
14 changed files with 1323 additions and 10 deletions

70
.github/workflows/esp32c3-arduino.yaml vendored Normal file
View File

@@ -0,0 +1,70 @@
---
name: esp32c3-arduino
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
permissions: write-all
strategy:
matrix:
arduino-platform: ["esp32:esp32"]
include:
- arduino-platform: "esp32:esp32"
fqbn: "esp32:esp32:esp32c3"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Arduino CLI
uses: arduino/setup-arduino-cli@v1
- name: Install platform
run: >
arduino-cli config set network.connection_timeout 600s
arduino-cli core install
${{ matrix.arduino-platform }}
- name: Install time lib
run: arduino-cli lib install time wifimanager ezTime
- name: Make timezones
run: python firmware/cities.py > firmware/esp32c3-arduino/cities.h
- name: Compile Sketch
run: >
arduino-cli compile --fqbn ${{ matrix.fqbn }} -e
firmware/esp32c3-arduino
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./firmware/esp32c3-arduino/build/esp32.esp32.esp32c3/esp32c3-arduino.ino.bin
asset_name: nixiesp12-esp32c3-arduino.bin
asset_content_type: application/bin

View File

@@ -1,5 +1,5 @@
---
name: arduino
name: esp8266-arduino
on:
push:
@@ -39,12 +39,12 @@ jobs:
run: arduino-cli lib install time wifimanager ezTime
- name: Make timezones
run: python firmware/cities.py > firmware/cities.h
run: python firmware/cities.py > firmware/esp8266-arduino/cities.h
- name: Compile Sketch
run: >
arduino-cli compile --fqbn ${{ matrix.fqbn }} -e
firmware
firmware/esp8266
- name: Create Release
id: create_release
@@ -64,6 +64,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./firmware/build/esp8266.esp8266.generic/firmware.ino.bin
asset_name: nixiesp12.bin
asset_path: ./firmware/esp8266-arduino/build/esp8266.esp8266.generic/esp32c3-arduino.ino.bin
asset_name: nixiesp12-esp8266-arduino.bin
asset_content_type: application/bin