39 lines
793 B
YAML
39 lines
793 B
YAML
variables:
|
|
GIT_SUBMODULE_STRATEGY: "recursive"
|
|
|
|
.build_template: &build_template
|
|
image: registry.gitlab.maxregan.me/max/arm-build-image:latest
|
|
stage: build
|
|
script:
|
|
- make -C ./firmware/
|
|
artifacts:
|
|
paths:
|
|
- "firmware/Test/*.elf"
|
|
- "firmware/Test/*.bin"
|
|
- "firmware/Application/*.elf"
|
|
- "firmware/Application/*.bin"
|
|
|
|
build-devboard:
|
|
<<: *build_template
|
|
variables:
|
|
BOARD: devboard
|
|
|
|
build-watch:
|
|
<<: *build_template
|
|
variables:
|
|
BOARD: watch
|
|
|
|
test-devboard:
|
|
stage: test
|
|
dependencies:
|
|
- build-devboard
|
|
tags:
|
|
- tr-hw
|
|
- privileged
|
|
image: registry.gitlab.maxregan.me/max/timely-reference/test-exec
|
|
script:
|
|
- test/src/tr_test/test.py --junitxml=test-report.xml
|
|
artifacts:
|
|
reports:
|
|
junit: test-report.xml
|