You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
558 B
20 lines
558 B
5 years ago
|
image: python:2.7
|
||
|
|
||
|
stages:
|
||
|
- build
|
||
|
|
||
|
before_script:
|
||
|
- pip install -U platformio
|
||
|
- platformio update
|
||
|
|
||
|
job:
|
||
|
stage: build
|
||
|
script:
|
||
|
- platformio ci --project-conf platformio.ini --board=lolin_d32_pro
|
||
|
- cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin .pioenvs/lolin_d32_pro/
|
||
|
- cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin .pioenvs/lolin_d32_pro/
|
||
|
variables: {PLATFORMIO_CI_SRC: "src"}
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- ".pioenvs/lolin_d32_pro/*.bin"
|