You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
670 B

sudo: required
language: rust
rust: nightly-2018-09-18
cache:
cargo: true
addons:
apt:
packages:
- qemu
env:
matrix:
- ARCH="riscv32"
- ARCH="x86_64"
6 years ago
install:
- if [ $ARCH = riscv32 ]; then
export FILE="riscv64-unknown-elf-gcc-2018.07.0-x86_64-linux-ubuntu14";
wget https://static.dev.sifive.com/dev-tools/$FILE.tar.gz;
tar xf $FILE.tar.gz;
export PATH=$PATH:$PWD/$FILE/bin;
fi
6 years ago
before_script:
- rustup component add rust-src
- (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild)
- (test -x $HOME/.cargo/bin/bootimage || cargo install bootimage)
6 years ago
script:
6 years ago
- cd kernel && make build arch=$ARCH