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-10-04 11:24:59 +02:00
|
|
|
|
2018-11-25 20:51:23 +01:00
|
|
|
before_script:
|
2019-11-02 17:04:19 +01:00
|
|
|
- wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/8_3_0_0/exports/msp430-gcc-8.3.0.16_linux64.tar.bz2 -O /tmp/msp430-gcc.tar.bz2
|
|
|
|
- tar -xjf /tmp/msp430-gcc.tar.bz2
|
|
|
|
- export PATH=$PATH:$PWD/msp430-gcc-8.3.0.16_linux64/bin
|
2019-06-10 11:50:23 +02:00
|
|
|
- arm-none-eabi-gcc --version
|
2019-10-04 11:24:59 +02:00
|
|
|
- msp430-elf-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-10-04 11:24:59 +02:00
|
|
|
|
2019-07-08 11:58:06 +02:00
|
|
|
after_success:
|
2019-07-08 13:25:14 +02:00
|
|
|
- source tools/build_success.sh
|