From 6919f63009f137f0570792fd8ef7f696a2372515 Mon Sep 17 00:00:00 2001 From: Filip Ayazi Date: Sun, 18 Jul 2021 05:34:24 +0100 Subject: [PATCH] Add build CI script --- .gitlab-ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7eb7a07 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: python:3.9 + +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip-cache" + PLATFORMIO_CACHE_DIR: "$CI_PROJECT_DIR/.platformio-cache" + +cache: + paths: + - .pip-cache/ + - .platformio-cache/ + +stages: + - build + +before_script: + - "pip install -U platformio" + +job: + stage: build + script: "pio run -e nano -e leonardo -e pico -e bluepill" \ No newline at end of file