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