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