From ce5a341dfd2fca27140a9cddbbc88df946a61744 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 31 Dec 2025 15:33:13 +0000 Subject: [PATCH] feat: Add GitHub CI/CD pipeline This commit adds a GitHub Actions workflow to build and test the MiniPirate project. It replaces the legacy Travis CI configuration with a modern setup that uses the official 'arduino/setup-arduino-cli' action. The new workflow: - Triggers on push and pull requests to the master branch. - Uses 'actions/checkout@v4'. - Sets up the Arduino CLI using 'arduino/setup-arduino-cli@v2'. - Installs the 'arduino:avr' core. - Compiles the sketch for the 'arduino:avr:uno' board. The '.travis.yml' file has been removed. --- .github/workflows/build.yml | 18 ++++++++++++++++++ .travis.yml | 10 ---------- 2 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ce11f1a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: arduino/setup-arduino-cli@v2 + - run: | + arduino-cli core update-index + arduino-cli core install arduino:avr + - run: arduino-cli compile --fqbn arduino:avr:uno diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b1b35e0..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: c -sudo: false -before_install: - - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh) -script: - - build_platform uno -notifications: - email: - on_success: change - on_failure: change