mirror of
https://gitlab.com/Luci_/arduino-photometrics.git
synced 2026-04-03 11:35:37 +02:00
don't work comment all gitlab CI
This commit is contained in:
parent
1500bfe07b
commit
312cda66be
|
|
@ -1,37 +1,34 @@
|
||||||
stages:
|
# stages:
|
||||||
- build
|
# - build
|
||||||
- test
|
# - test
|
||||||
|
|
||||||
variables:
|
# variables:
|
||||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
# PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||||
PLATFORMIO_CACHE_DIR: "$CI_PROJECT_DIR/.cache/platformio"
|
# PLATFORMIO_CACHE_DIR: "$CI_PROJECT_DIR/.cache/platformio"
|
||||||
ARDUINO_ENV: "megaADK"
|
# ARDUINO_ENV: "megaADK"
|
||||||
|
|
||||||
cache:
|
# cache:
|
||||||
paths:
|
# paths:
|
||||||
- .cache/pip
|
# - .cache/pip
|
||||||
- .cache/platformio
|
# - .cache/platformio
|
||||||
key: "$CI_COMMIT_REF_SLUG"
|
# key: "$CI_COMMIT_REF_SLUG"
|
||||||
|
|
||||||
pio_build:
|
# pio_build:
|
||||||
image: python:latest
|
# image: python:latest
|
||||||
stage: build
|
# stage: build
|
||||||
|
|
||||||
before_script:
|
# before_script:
|
||||||
- pip install -U platformio
|
# - pip install -U platformio
|
||||||
# - pio lib install "ThrowTheSwitch/Unity@^2.6.0"
|
|
||||||
|
|
||||||
script:
|
# script:
|
||||||
- "pio run -e $ARDUINO_ENV"
|
# - "pio run -e $ARDUINO_ENV"
|
||||||
|
|
||||||
pio_test:
|
# pio_test:
|
||||||
image: python:latest
|
# image: python:latest
|
||||||
stage: test
|
# stage: test
|
||||||
|
|
||||||
before_script:
|
# before_script:
|
||||||
- pip install -U platformio
|
# - pip install -U platformio
|
||||||
|
|
||||||
script:
|
# script:
|
||||||
- pio test -e $ARDUINO_ENV --without-uploading
|
# - pio test -e $ARDUINO_ENV --without-uploading
|
||||||
# - pio ci --lib='.' --board=$ARDUINO_ENV test/EEPROM_test_struct.cpp
|
|
||||||
# - "pio ci --lib='.' --board=$ARDUINO_ENV test"
|
|
||||||
Loading…
Reference in a new issue