migrate Drone CI workflow to Gitea Actions
Some checks failed
Build Firmware / Compile (push) Failing after 23s
Some checks failed
Build Firmware / Compile (push) Failing after 23s
This commit is contained in:
parent
e65dcb8ef2
commit
016da2b7d5
11
.drone.yml
11
.drone.yml
@ -1,11 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: default
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build-firmware
|
|
||||||
image: stklcode/avr-toolchain
|
|
||||||
commands:
|
|
||||||
- avr-gcc --version
|
|
||||||
- cd firmware
|
|
||||||
- make compile info
|
|
28
.github/workflows/build.yml
vendored
Normal file
28
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
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' }}
|
Loading…
x
Reference in New Issue
Block a user