diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..65c5153 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,25 @@ +name: Build + +on: + push: + branches: + - "**" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Install PlatformIO + run: pip install platformio + + - name: Build firmware + run: pio run -e uno \ No newline at end of file diff --git a/README.MD b/README.MD index 6eec783..ae8d54e 100644 --- a/README.MD +++ b/README.MD @@ -1,4 +1,5 @@ ![image](https://openfixtures.punchav.com/full_grey.png) +[![Build Status](https://github.com/miles-p/OpenFixtures/actions/workflows/build.yml/badge.svg)](https://github.com/miles-p/OpenFixtures/actions) ## Statement of Intent This project is an Arduino based lighting fixture system that provides an easy and achievable to make a lighting fixture from scratch. This will be simple to use, and will be able to make complex fixtures, such as Dimmer channels, Relay channels, and later down the track, color and position controls. This will be great for the experimentalist lighting designer with a great idea for a custom fixture Martin won't make, or a cool DMX controlled thingamabob that Ayrton don't have planned yet.