From 280e681ba6b3eb39d17aa1bf353516b0255f8d01 Mon Sep 17 00:00:00 2001 From: andrea Date: Sun, 15 Mar 2026 11:37:03 +0100 Subject: [PATCH] ci: add github actions workflow for automatic compilation --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ba4e739 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Arduino Pong CI + +on: + push: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup Arduino CLI + uses: arduino/setup-arduino-cli@v1 + + - name: Install UNO R4 Core + run: | + arduino-cli core update-index + arduino-cli core install arduino:renesas_uno + + - name: Compile Sketch (via Makefile) + run: make compile