This commit is contained in:
Игорь Брылёв 2025-01-13 17:36:36 +03:00
parent 5fbbd1f74e
commit 1f45a83a1d

View file

@ -9,11 +9,11 @@ build_firmware:
image: python:3.9 image: python:3.9
rules: rules:
- changes: - changes:
- "firmware/*" - "controller/fw/*"
- ".gitlab-ci.yml" - ".gitlab-ci.yml"
when: on_success when: on_success
before_script: before_script:
- cd firmware/embed - cd controller/fw/embed
- pip install -U platformio - pip install -U platformio
- pio update - pio update
script: script:
@ -21,8 +21,8 @@ build_firmware:
- pio run - pio run
artifacts: artifacts:
paths: paths:
- firmware/embed/.pio/build/robotroller_reborn/firmware.elf - controller/fw/embed/.pio/build/robotroller_reborn/firmware.elf
- firmware/embed/.pio/build/robotroller_reborn/firmware.bin - controller/fw/embed/.pio/build/robotroller_reborn/firmware.bin
expire_in: 1 week expire_in: 1 week
lint_firmware: lint_firmware:
@ -30,11 +30,11 @@ lint_firmware:
image: python:3.9 image: python:3.9
rules: rules:
- changes: - changes:
- "firmware/*" - "controller/fw/*"
- ".gitlab-ci.yml" - ".gitlab-ci.yml"
when: on_success when: on_success
before_script: before_script:
- cd firmware/embed/ - cd controller/fw/embed/
- pip install cpplint - pip install cpplint
script: script:
- pwd - pwd
@ -77,6 +77,6 @@ clone:
Robotroller-PCB: Robotroller-PCB:
variables: variables:
PACKAGE_NAME: 'Robotroller-PCB' PACKAGE_NAME: 'Robotroller-PCB'
FOLDER: 'brd' FOLDER: 'controller/hw'
PROJECT_NAME: 'motor_controller_50mm' PROJECT_NAME: 'motor_controller_50mm'
extends: .kicad-pipeline extends: .kicad-pipeline