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 # custom
version.txt version.txt
build/

4
.gitlab-ci.yml

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

4
platformio.ini

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

Loading…
Cancel
Save