fix CI
This commit is contained in:
parent
5fbbd1f74e
commit
1f45a83a1d
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue