cache more between builds

This commit is contained in:
lukas 2020-12-12 16:10:06 +01:00
parent 0817fcf492
commit 6291c9311a
2 changed files with 8 additions and 6 deletions

View File

@ -6,6 +6,7 @@ stages:
cache:
paths:
- "~/.platformio"
- ./interface/node_modules
before_script:
- "pip install -U platformio"
@ -16,7 +17,7 @@ build:
script:
- "platformio run -e esp12e"
- vers=$(grep -Po '[0-9]*\.[0-9]*\.[0-9]*(?=\")' ./src/Pins.h)
- mv .pio/'build/esp12e/*.bin Pumpensteuerung-${vers}.bin
- mv .pio/build/esp12e/*.bin Pumpensteuerung-${vers}.bin
artifacts:
paths:
- ./*.bin

View File

@ -20,11 +20,12 @@ build_flags=
lib_compat_mode = strict
; Uncomment & modify the lines below in order to configure OTA updates
upload_flags =
--port=8266
--auth=esp-react
--host_port=14515
upload_port = 192.168.0.230
;upload_flags =
; --port=8266
; --auth=esp-react
; --host_port=14515
;upload_port = 192.168.0.230
;upload_protocol = espota
framework = arduino
monitor_speed = 115200