Port CI to Forgejo Actions
Some checks failed
ci / build-image (push) Failing after 4m55s

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

View file

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