Port CI to Forgejo Actions
All checks were successful
ci / build-image (push) Successful in 1m20s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jonas Leder 2026-11-18 10:50:34 +01:00
commit 1cae41e6de
2 changed files with 26 additions and 9 deletions

26
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,26 @@
name: ci
on:
push:
branches: ['**']
tags: ['**']
workflow_dispatch:
jobs:
build-image:
runs-on: default
steps:
- uses: https://code.forgejo.org/actions/checkout@v7
- name: Install PlatformIO
run: |
python3 -m venv "$RUNNER_TEMP/pio"
"$RUNNER_TEMP/pio/bin/pip" install -U platformio
echo "$RUNNER_TEMP/pio/bin" >> "$GITHUB_PATH"
- name: Build
run: |
pio run -e ATtiny414
mv .pio/build/ATtiny414/firmware.hex firmware.hex
- uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: firmware.hex
path: firmware.hex

View file

@ -1,9 +0,0 @@
build-image:
stage: build
image: jonasled.dev/jonasled/platformio-docker:latest
script:
- pio run -e ATtiny414
- mv .pio/build/ATtiny414/firmware.hex firmware.hex
artifacts:
paths:
- firmware.hex