.gitlab-ci.yml 649 字节
Newer Older
Y
yejianwu 已提交
1
stages:
L
Liangliang He 已提交
2
  - cpplint
Y
yejianwu 已提交
3 4
  - ops_test
  - ops_benchmark
5 6 7 8 9

cpplint:
  stage: cpplint
  script:
    - curl -o cpplint.py https://raw.githubusercontent.com/google/styleguide/gh-pages/cpplint/cpplint.py
L
Liangliang He 已提交
10
    - python cpplint.py --linelength=80 --counting=detailed $(find mace -name *.h -or -name *.cc)
Y
yejianwu 已提交
11 12 13 14

ops_test:
  stage: ops_test
  script:
15
    - python tools/bazel_adb_run.py --target="//mace/ops:ops_test" --run_target=True --stdout_processor=ops_test_stdout_processor
Y
yejianwu 已提交
16 17 18 19

ops_benchmark:
  stage: ops_benchmark
  script:
L
Liangliang He 已提交
20
    - python tools/bazel_adb_run.py --target="//mace/ops:ops_benchmark" --run_target=True --stdout_processor=ops_benchmark_stdout_processor