Files
arduino_pong/.github/workflows/ci.yml
andrea 7c065d8799
Some checks failed
Arduino Pong CI / build (macos-latest) (push) Has been cancelled
Arduino Pong CI / build (ubuntu-latest) (push) Has been cancelled
Arduino Pong CI / build (windows-latest) (push) Has been cancelled
updated ci.yml
2026-03-15 20:09:21 +01:00

40 lines
896 B
YAML

name: Arduino Pong CI
on:
push:
branches: [ master ]
paths:
- 'arduino_pong.ino'
- 'Makefile'
- '.github/workflows/ci.yml'
- '*.cpp'
- '*.h'
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v6
- name: Setup Arduino CLI
#uses: arduino/setup-arduino-cli@v2
shell: bash
run: |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
echo "./bin" >> $GITHUB_PATH
- name: Install UNO R4 Core
run: |
arduino-cli core update-index
arduino-cli core install arduino:renesas_uno
- name: Compile Sketch (via Makefile)
shell: bash
run: make prepare_and_compile