Created
February 4, 2017 08:20
-
-
Save stffrdhrn/44a94fd831ec9ff5c846fb3798ccd9e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dist: trusty # trusty needed for libmpc3 | |
sudo: false | |
language: c | |
branches: | |
- travis | |
addons: | |
apt: | |
sources: | |
- ubuntu-toolchain-r-test # get gcc-6 | |
packages: | |
- build-essential | |
- gcc-6 # libs needed for or1k-linux- toolchain | |
- g++-6 | |
- bc # basic for linux build | |
- libmpc3 # needed for or1k-linux- toolchain | |
env: | |
matrix: | |
- ARCH=openrisc CONFIG=defconfig CROSS_COMPILE=or1k-linux- | |
- ARCH=openrisc CONFIG=allnoconfig CROSS_COMPILE=or1k-linux- | |
- ARCH=openrisc CONFIG=allyesconfig CROSS_COMPILE=or1k-linux- | |
- ARCH=openrisc CONFIG=alldefconfig CROSS_COMPILE=or1k-linux- | |
- ARCH=x86 CONFIG=defconfig | |
before_install: | |
- wget http://shorne.noip.me/crosstool/files/bin/x86_64/5.4.0/gcc-5.4.0-nolibc.tar.xz -O /tmp/gcc.tar.xz | |
- tar -xvf /tmp/gcc.tar.xz | |
- export PATH=$PATH:$PWD/gcc-5.4.0-nolibc/bin | |
script: make $CONFIG && make -j2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment