main.yml 551 B

1234567891011121314151617181920212223242526
  1. name: Precheckin
  2. on:
  3. pull_request:
  4. branches: [ master ]
  5. jobs:
  6. build_and_test:
  7. runs-on: self-hosted
  8. steps:
  9. - uses: actions/checkout@v2
  10. - name: Lintgit Check
  11. run: ./tools/lintgit master $PWD
  12. - uses: actions/checkout@v2
  13. - name: Run Test
  14. run: |
  15. mkdir build
  16. pushd build
  17. cmake -DBUILD_TESTS=ON -DBUILD_SAMPLES=ON -DCODE_COVERAGE_TEST=ON -DENABLE_KCF=OFF ..
  18. make -j8
  19. pushd ../tests
  20. EDK_LOG_LEVEL=6 ./test.sh
  21. popd
  22. popd