提交 843d822c 编写于 作者: L Liangliang He

Update .gitlab-ci.yml

上级 776b2ba4
stages: stages:
- cpplint
- ops_test - ops_test
- ops_benchmark - ops_benchmark
- cpplint
cpplint: cpplint:
stage: cpplint stage: cpplint
only:
- master
script: script:
- curl -o cpplint.py https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py - curl -o cpplint.py https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py
- python cpplint.py --linelength=80 --counting=detailed $(find mace -name *.h -or -name *.cc) - python cpplint.py --linelength=80 --counting=detailed $(find mace -name *.h -or -name *.cc)
ops_test: ops_test:
stage: ops_test stage: ops_test
only:
- master
script: script:
- FAILURE_PATTERN="FAILED\|Aborted" tools/bazel-adb-run.sh //mace/ops:ops_test - FAILURE_PATTERN="FAILED\|Aborted" tools/bazel-adb-run.sh //mace/ops:ops_test
ops_benchmark: ops_benchmark:
stage: ops_benchmark stage: ops_benchmark
only:
- master
script: script:
- FAILURE_PATTERN="Aborted" tools/bazel-adb-run.sh //mace/ops:ops_benchmark --pattern=.*CONV.* - FAILURE_PATTERN="Aborted" tools/bazel-adb-run.sh //mace/ops:ops_benchmark --pattern=.*CONV.*
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册