From cce0dcea39b38ac9ed57a0d7b78840a4934b42c7 Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sun, 2 Feb 2025 11:52:58 +0100 Subject: [PATCH] migrate Drone CI workflow to Gitea Actions --- .drone.yml | 11 ----------- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 11 deletions(-) delete mode 100644 .drone.yml create mode 100644 .github/workflows/build.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index b4de5d8..0000000 --- a/.drone.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..9c1a237 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +--- +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