From 4302d31841d553416ddc72280f4df1b9a8e2d75a Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sun, 2 Feb 2025 17:22:21 +0100 Subject: [PATCH] migrate Drone CI workflow to Gitea Actions --- .drone.yml | 12 ------------ .gitea/workflows/ci.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 12 deletions(-) delete mode 100644 .drone.yml create mode 100644 .gitea/workflows/ci.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index c6928c6..0000000 --- a/.drone.yml +++ /dev/null @@ -1,12 +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 diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml new file mode 100644 index 0000000..7ec6a54 --- /dev/null +++ b/.gitea/workflows/ci.yml @@ -0,0 +1,23 @@ +--- +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: | + sudo apt-get update + sudo apt-get install --no-install-recommends -y gcc-avr binutils-avr avr-libc + avr-gcc --version + + - name: Compile + working-directory: firmware + run: make compile info