Commit 056f25a2 authored by Dimitris Tassopoulos's avatar Dimitris Tassopoulos

Updated .gitlab-ci.yml

parent 6f54f7cd
Pipeline #106871941 canceled with stages
......@@ -12,9 +12,9 @@
- test
build:
stage: build
tags:
- stm32-builder
stage: build
script: time TOOLCHAIN_DIR=/opt/toolchains/gcc-arm-none-eabi-9-2019-q4-major CLEANBUILD=true USE_STDPERIPH_DRIVER=ON USE_DBGUART=ON SRC=src ./build.sh
cache:
key: build-cache
......@@ -26,18 +26,17 @@
expire_in: 1 week
flash:
stage: flash
tags:
- test-farm
stage: flash
script: st-flash --reset write build-stm32/src/stm32f103-i2c-io-expander.bin 0x8000000
cache:
key: build-cache
run_robot:
tags:
- nanopi_neo2
- nanopi_k1_plus
stage: test
tags:
- test-farm
script:
- cd tests/
- robot --pythonpath . --outputdir ./results -v I2C_SLAVE:0x08 -v BOARD:nanopi_neo2 -t "Probe STM32" -t "Config output pin" -t "Set stm32 pin high" -t "Read host pin" -t "Reset stm32 pin" -t "Read host pin 2" ./robot-tests/
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment