|
|
@@ -1,34 +0,0 @@
|
|
|
-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 -O /tmp/riscv-toolchain.tgz https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v8.3.0-1.1/xpack-riscv-none-embed-gcc-8.3.0-1.1-linux-x64.tgz
|
|
|
- - tar -xzf /tmp/riscv-toolchain.tgz
|
|
|
- - export PATH=$PWD/xPacks/riscv-none-embed-gcc/8.3.0-1.1/bin:$PATH
|
|
|
- - arm-none-eabi-gcc --version
|
|
|
- - riscv-none-embed-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
|