add travis for riscv32 M-mode

master
WangRunji 6 years ago
parent fcf5074500
commit 1f305a883c

@ -15,6 +15,7 @@ addons:
env: env:
matrix: matrix:
- ARCH="riscv32" - ARCH="riscv32"
- ARCH="riscv32" OPTS="m_mode=1"
- ARCH="x86_64" - ARCH="x86_64"
- ARCH="aarch64" - ARCH="aarch64"
@ -38,5 +39,5 @@ before_script:
- (test -x $HOME/.cargo/bin/bootimage || cargo install bootimage) - (test -x $HOME/.cargo/bin/bootimage || cargo install bootimage)
script: script:
- cd kernel && make build arch=$ARCH && cd .. - cd kernel && make build arch=$ARCH $OPTS && cd ..
- cd user && make arch=$ARCH - cd user && make arch=$ARCH

Loading…
Cancel
Save