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