mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
35 lines
732 B
Plaintext
35 lines
732 B
Plaintext
language: c
|
|
dist: bionic
|
|
compiler:
|
|
- gcc
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- sourceline: "ppa:team-gcc-arm-embedded/ppa"
|
|
packages:
|
|
- python3
|
|
- ruby
|
|
- gcc-arm-embedded
|
|
|
|
install:
|
|
- gem install ceedling
|
|
|
|
before_script:
|
|
- 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
|
|
- arm-none-eabi-gcc --version
|
|
- msp430-elf-gcc --version
|
|
|
|
script:
|
|
# Build all examples
|
|
- python3 tools/build_all.py
|
|
# Run unit tests
|
|
- cd test
|
|
- ceedling test:all
|
|
- cd ..
|
|
|
|
after_success:
|
|
- source tools/build_success.sh
|