1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
srs/.circleci/config.yml

27 lines
614 B
YAML
Raw Normal View History

2019-02-02 11:57:29 +00:00
version: 2
jobs:
2021-03-03 13:59:06 +00:00
build-centos7:
2019-02-02 11:57:29 +00:00
docker:
- image: ossrs/srs:dev
2019-02-02 11:57:29 +00:00
steps:
- checkout
2021-03-03 13:59:06 +00:00
- run: |
cd trunk && ./configure && make &&
./configure --nasm=off --srtp-nasm=off && make clean && make &&
./configure --gb28181=on && make clean && make
2019-02-02 11:57:29 +00:00
test:
docker:
- image: ossrs/srs:dev
2019-02-02 11:57:29 +00:00
steps:
- checkout
2020-03-31 08:40:08 +00:00
- run: |
cd trunk &&
2021-03-03 13:37:15 +00:00
./configure --gb28181=on --utest=on --gcov=on && make &&
2020-03-31 08:40:08 +00:00
./objs/srs_utest && bash auto/coverage.sh
2019-02-02 11:57:29 +00:00
workflows:
version: 2
build_and_test:
jobs:
2021-03-03 13:59:06 +00:00
- build-centos7
2019-02-02 11:57:29 +00:00
- test