From 94b4d0bd97c7b78f0575a8499612ff3a75c0fb05 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Wed, 10 Jul 2019 22:58:48 +0200 Subject: [PATCH] CI: include artifacts --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70d92e3..61b820e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,4 +10,10 @@ job: stage: test script: - platformio ci --project-conf platformio.ini --board=heltec_wifi_lora_32 - variables: {PLATFORMIO_CI_SRC: "src"} \ No newline at end of file + - cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin .pioenvs/heltec_wifi_lora_32/ + - cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin .pioenvs/heltec_wifi_lora_32/ +# to flash: esptool.py --before default_reset --after hard_reset --chip esp32 --port "/dev/ttyUSB0" --baud 115200 write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 "/home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin" 0x8000 ".pioenvs/esp32thing/partitions.bin" 0xe000 "/home/user/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin" 0x10000 .pioenvs/heltec_wifi_lora_32/firmware.bin + variables: {PLATFORMIO_CI_SRC: "src"} + artifacts: + paths: + - ".pioenvs/heltec_wifi_lora_32/*.bin"