laith-dosinfection / lwIOlinkMaster

This repository is a work in progress with the intent to create a IO-link master stack which can extract data from IO-link Devices
GNU General Public License v3.0
1 stars 0 forks source link

Added build action #4

Closed unref-ptr closed 10 months ago

unref-ptr commented 10 months ago

Added a minimal build action based on the docs from platformio

https://docs.platformio.org/en/stable/integration/ci/github-actions.html

This should be a good start, to test that the code works before merging to main.

Solves #3

unref-ptr commented 10 months ago

I intentionally used a specific version as from my experience with Docker container packages and software can break between versions

In this simple action it just uses pip so it should not break but when the build requires other package dependencies it can be a better idea to use specific version that we know that work. I can change it to ubuntu-22.04 instead which is marked as the latest for ubuntu.