Browse Source

update CI

main
Hendrik Langer 8 years ago
parent
commit
7f924a7aa9
  1. 4
      .gitlab-ci.yml

4
.gitlab-ci.yml

@ -9,8 +9,8 @@ build:
script: script:
# - platformio lib -g install 1 # - platformio lib -g install 1
# - platformio ci --board=esp32thing # - platformio ci --board=esp32thing
- sed -i "s/^\(#define WIFI_SSID \).*/\1\"$WIFI_SSID\"/" src/main.cpp - sed -i "s/^\(#define WIFI_SSID \).*/\1\"$WIFI_SSID\"/" src/hardware.h
- sed -i "s/^\(#define WIFI_PASSWORD \).*/\1\"$WIFI_PASSWORD\"/" src/main.cpp - sed -i "s/^\(#define WIFI_PASSWORD \).*/\1\"$WIFI_PASSWORD\"/" src/hardware.h
- platformio run - platformio run
- ln -s .pioenvs/esp32thing build - ln -s .pioenvs/esp32thing build
- cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin build/ - cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin build/

Loading…
Cancel
Save