2013-05-09 08:48:11 +02:00
|
|
|
language: c
|
2019-10-01 10:43:28 +02:00
|
|
|
dist: bionic
|
2013-05-09 08:48:11 +02:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2018-11-25 20:51:23 +01:00
|
|
|
|
2019-06-10 11:34:36 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2019-06-10 11:39:06 +02:00
|
|
|
- sourceline: "ppa:team-gcc-arm-embedded/ppa"
|
2019-06-10 11:34:36 +02:00
|
|
|
packages:
|
|
|
|
- python3
|
2019-06-10 11:50:23 +02:00
|
|
|
- ruby
|
|
|
|
- gcc-arm-embedded
|
2019-06-10 11:34:36 +02:00
|
|
|
|
|
|
|
install:
|
2019-06-10 11:50:23 +02:00
|
|
|
- gem install ceedling
|
2019-06-10 11:34:36 +02:00
|
|
|
|
2018-11-25 20:51:23 +01:00
|
|
|
before_script:
|
2019-06-10 11:50:23 +02:00
|
|
|
- arm-none-eabi-gcc --version
|
2018-11-25 20:51:23 +01:00
|
|
|
|
|
|
|
script:
|
2019-06-10 12:04:19 +02:00
|
|
|
# Build all examples
|
2019-06-10 11:45:02 +02:00
|
|
|
- python3 tools/build_all.py
|
2019-06-10 12:04:19 +02:00
|
|
|
# Run unit tests
|
|
|
|
- cd test
|
|
|
|
- ceedling test:all
|
2019-07-08 13:15:18 +02:00
|
|
|
- cd ..
|
2019-07-08 11:58:06 +02:00
|
|
|
|
|
|
|
after_success:
|
2019-07-08 13:25:14 +02:00
|
|
|
- source tools/build_success.sh
|