arduino-photometrics/.gitlab-ci.yml
2025-12-11 08:58:54 +01:00

34 lines
618 B
YAML

# stages:
# - build
# - test
# variables:
# PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# PLATFORMIO_CACHE_DIR: "$CI_PROJECT_DIR/.cache/platformio"
# ARDUINO_ENV: "megaADK"
# cache:
# paths:
# - .cache/pip
# - .cache/platformio
# key: "$CI_COMMIT_REF_SLUG"
# pio_build:
# image: python:latest
# stage: build
# before_script:
# - pip install -U platformio
# script:
# - "pio run -e $ARDUINO_ENV"
# pio_test:
# image: python:latest
# stage: test
# before_script:
# - pip install -U platformio
# script:
# - pio test -e $ARDUINO_ENV --without-uploading