Pi4J / pi4j-example-devices

Device support project for the TCA9548 (1x8 I2C switch)
10 stars 7 forks source link

Add CI Pipeline with Maven Wrapper and Update Build Instructions #85

Closed dariuszzbyrad closed 3 days ago

dariuszzbyrad commented 3 days ago

This PR introduces the following improvements to streamline the build and testing process:

  1. Continuous Integration (CI) with GitHub Actions:

    • Added a CI workflow (Maven CI) to automatically build and test the project.
    • The CI workflow triggers on pushes and pull requests targeting the master branch, ensuring that only production-ready changes are verified before merging.
  2. Maven Wrapper:

    • Added the Maven Wrapper to standardize builds across different environments and simplify setup for contributors who may not have Maven installed locally.
    • Updated project structure to include mvnw files (mvnw, mvnw.cmd) and necessary configuration in .mvn/wrapper/.
  3. Updated README files:

    • Updated build instructions in the README files from mvn clean package to ./mvnw clean package to ensure builds are run consistently with the wrapper.

Benefits:

FDelporte commented 3 days ago

Merging to validate the GH Action...

FDelporte commented 3 days ago

@dariuszzbyrad can you please check the build failure on https://github.com/Pi4J/pi4j-example-devices/actions/runs/11853017160/job/33032294662?