diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3a84a22 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +image: python:latest + +before_script: + - python -V # Print out python version for debugging + - pip install platformio + - apt update && apt install build-essential + +build: + script: + - cd firmware + - platformio run + #- platformio test -v -e native diff --git a/firmware/platformio.ini b/firmware/platformio.ini index b452b4a..47c4bf5 100644 --- a/firmware/platformio.ini +++ b/firmware/platformio.ini @@ -26,6 +26,7 @@ lib_deps = https://github.com/mabau/ESPAsyncWebServer.git AsyncTCP NTPClient + HX711@0.7.4 src_filter = +<*> - [env:native]