Stefan Kalscheuer 016da2b7d5
Some checks failed
Build Firmware / Compile (push) Failing after 23s
migrate Drone CI workflow to Gitea Actions
2025-02-02 12:00:08 +01:00

29 lines
629 B
YAML

---
name: Build Firmware
on: [push, pull_request]
jobs:
build-firmware:
name: Compile
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup AVR-GCC
run: |
apt-get update
apt-get install --no-install-recommends -y gcc-avr binutils-avr avr-libc
- name: Compile
working-directory: firmware
run: make compile info
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: firmware/*.hex
if: ${{ gitea.event_name == 'push' && gitea.ref_name == 'ci/actions' }}