Hello,
I’m trying to mak auto check and build with gitlab ci and i’m facing an issue with
toolchain-xtensa32
`/root/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find crt1-sim.o: No such file or directory`
`/root/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find _vectors.o: No such file or directory`
My .gitlab-ci.yml look like this:
image: ubuntu:latest
stages:
- deploy_pages
- test_firmware
- build_firmware
.before_script_template:
before_script:
- apt-get update && apt-get install -y python3 python3-venv curl git gcc g++
- curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o get-platformio.py
- python3 get-platformio.py
- /root/.platformio/penv/bin/platformio upgrade
- /root/.platformio/penv/bin/platformio update
pages:
stage: deploy_pages
only:
- master_esp32
before_script:
- apt-get update && apt-get install -y doxygen
script:
- doxygen Doxyfile
artifacts:
paths:
- public
interruptible: true
test:
stage: test_firmware
extends: .before_script_template
script:
- /root/.platformio/penv/bin/platformio check -e esp32dev --skip-packages
interruptible: true
build:
stage: build_firmware
only:
- master_esp32
extends: .before_script_template
script:
- /root/.platformio/penv/bin/platformio run -e esp32dev
interruptible: true
This can help me?
https://docs.platformio.org/en/latest/faq.html#platformio-udev-rules
ps: block code with 4 spaces indentation and don’t allow copy/paste is very boring…