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: cache:
paths: paths:
- "~/.platformio" - "~/.platformio"
- ./interface/node_modules
before_script: before_script:
- "pip install -U platformio" - "pip install -U platformio"
@ -16,7 +17,7 @@ build:
script: script:
- "platformio run -e esp12e" - "platformio run -e esp12e"
- vers=$(grep -Po '[0-9]*\.[0-9]*\.[0-9]*(?=\")' ./src/Pins.h) - 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: artifacts:
paths: paths:
- ./*.bin - ./*.bin

View File

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