Browse Source

fix ci build

split_files
Hendrik Langer 5 years ago
parent
commit
17b68d3789
  1. 1
      .gitignore
  2. 4
      .gitlab-ci.yml
  3. 4
      platformio.ini

1
.gitignore

@ -15,3 +15,4 @@ share/
# custom
version.txt
build/

4
.gitlab-ci.yml

@ -9,8 +9,8 @@ build:
- pip install -U platformio
- platformio update
script:
- platformio ci --project-conf platformio.ini --board=lolin_d32_pro --build-dir build --keep-build-dir
# - date +%s > build/.pio/build/lolin_d32_pro/build.version
# - date +%s > version.txt
- platformio ci --lib="script" --project-conf platformio.ini --board=lolin_d32_pro --build-dir="build" --keep-build-dir
variables: {PLATFORMIO_CI_SRC: "src"}
artifacts:
paths:

4
platformio.ini

@ -22,4 +22,6 @@ build_flags =
monitor_speed = 115200
extra_scripts = pre:script/autoversioning.py
extra_scripts =
pre:script/autoversioning.py
pre:lib/script/autoversioning.py

Loading…
Cancel
Save