2
0

config.yml 674 B

1234567891011121314151617181920212223242526
  1. version: 2
  2. jobs:
  3. build:
  4. docker:
  5. - image: ossrs/srs:dev
  6. steps:
  7. - checkout
  8. - run: |
  9. cd trunk &&
  10. ./configure --without-rtc --without-gb28181 --without-utest --without-srtp-nasm && make &&
  11. ./configure --with-rtc --with-gb28181 --with-utest --with-srtp-nasm && make clean && make
  12. test:
  13. docker:
  14. - image: ossrs/srs:dev
  15. steps:
  16. - checkout
  17. - run: |
  18. cd trunk &&
  19. ./configure --with-rtc --with-gb28181 --with-srtp-nasm --with-utest --gcov && make &&
  20. ./objs/srs_utest && bash auto/coverage.sh
  21. workflows:
  22. version: 2
  23. build_and_test:
  24. jobs:
  25. - build
  26. - test