1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-23 00:16:17 +04:00

add travis for aarch64

This commit is contained in:
WangRunji 2018-11-20 01:33:21 +08:00
parent 4f8d110d31
commit e1f93a179a

View File

@ -16,6 +16,7 @@ env:
matrix: matrix:
- ARCH="riscv32" - ARCH="riscv32"
- ARCH="x86_64" - ARCH="x86_64"
- ARCH="aarch64"
install: install:
- if [ $ARCH = riscv32 ]; then - if [ $ARCH = riscv32 ]; then
@ -24,6 +25,12 @@ install:
tar xf $FILE.tar.gz; tar xf $FILE.tar.gz;
export PATH=$PATH:$PWD/$FILE/bin; export PATH=$PATH:$PWD/$FILE/bin;
fi fi
- if [ $ARCH = aarch64 ]; then
wget https://web.stanford.edu/class/cs140e/files/aarch64-none-elf-linux-x64.tar.gz;
tar -xzvf aarch64-none-elf-linux-x64.tar.gz;
export PATH=$PATH:$PWD/aarch64-none-elf/bin;
fi
before_script: before_script:
- rustup component add rust-src - rustup component add rust-src