forked from modm-io/modm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (20 loc) · 1.06 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
os: linux
dist: focal # Ubuntu 20.04LTS
arch: arm64
#arch: arm64-graviton2
language: minimal
before_install:
- sudo apt-get update
- sudo apt-get install -y python3 python3-pip scons cmake doxygen gcc-10 g++-10 build-essential libboost-all-dev libwiringpi-dev
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 90 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
#- sudo apt-get install -y gcc-arm-none-eabi
- wget -qO- https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-aarch64-linux.tar.bz2 | tar xvj -C /opt
- export PATH="/opt/gcc-arm-none-eabi-10-2020-q4-major/bin:$PATH"
- pip3 install modm
- export PATH="~/.local/bin:$PATH"
- uname -a
script:
- (cd test && make run-hosted-linux)
- (cd examples && ../tools/scripts/examples_compile.py linux)
- (cd examples && ../tools/scripts/examples_compile.py stm32f1_discovery nucleo_f103rb olimexino_stm32 blue_pill_f103 black_pill_f103)
- (cd examples && ../tools/scripts/examples_compile.py rpi)