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

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jonas Leder 2026-11-18 10:50:26 +01:00
commit ca338fb6b9
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
mv .pio/build/d1_mini_lite/firmware.bin firmware.bin
- uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: firmware.bin
path: firmware.bin

View file

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