浏览代码

Check examples in CI

Vadim Kaushan 5 年之前
父节点
当前提交
cf8c9f286c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      riscv-rt/ci/script.sh

+ 1 - 0
riscv-rt/ci/script.sh

@@ -2,6 +2,7 @@ set -euxo pipefail
 
 main() {
     cargo check --target $TARGET
+    cargo check --target $TARGET --examples
 
     if [ $TRAVIS_RUST_VERSION = nightly ]; then
         cargo check --target $TARGET --features 'inline-asm'