.github-CI.yml 615 B

12345678910111213141516171819202122232425
  1. name: C/C++ CI
  2. on:
  3. pull_request:
  4. branches:
  5. - master
  6. jobs:
  7. job_lintgit_check:
  8. runs-on: cnstream-video
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Run lintgit
  12. run: ./tools/lintgit origin/master $PWD
  13. unit_test:
  14. runs-on: cnstream-video
  15. steps:
  16. - uses: actions/checkout@v2
  17. with:
  18. submodules: true
  19. - name: configure
  20. run: mkdir build && cd build && cmake -DMLU=MLU270 .. && make -j
  21. - name: test
  22. run: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/neuware/lib64 && ./build/bin/cnstream_core_test && ./build/bin/cnstream_test