diff --git a/.circleci/config.yml b/.circleci/config.yml index 1bd67557b..b3fe5f8a1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,23 +1,29 @@ version: 2 jobs: - build-centos7: + build-centos7-default: docker: - image: ossrs/srs:dev steps: - checkout - - run: | - cd trunk && - ./configure --gb28181=off --utest=off --srtp-nasm=off && make && - ./configure --gb28181=on --utest=on --srtp-nasm=on && make clean && make + - run: cd trunk && ./configure && make + build-centos7-noasm: + docker: + - image: ossrs/srs:dev + steps: + - checkout + - run: cd trunk && ./configure --nasm=off --srtp-nasm=off && make && + build-centos7-gb28181: + docker: + - image: ossrs/srs:dev + steps: + - checkout + - run: cd trunk && ./configure --gb28181=on && make build-ubuntu20: docker: - image: ossrs/srs:ubuntu20 steps: - checkout - - run: | - cd trunk && - ./configure --gb28181=off --utest=off --srtp-nasm=off && make && - ./configure --gb28181=on --utest=on --srtp-nasm=on && make clean && make + - run: cd trunk && ./configure && make test: docker: - image: ossrs/srs:dev @@ -25,12 +31,14 @@ jobs: - checkout - run: | cd trunk && - ./configure --gb28181=on --srtp-nasm=on --utest=on --gcov=on && make && + ./configure --gb28181=on --utest=on --gcov=on && make && ./objs/srs_utest && bash auto/coverage.sh workflows: version: 2 build_and_test: jobs: - - build-centos7 + - build-centos7-default + - build-centos7-noasm + - build-centos7-gb28181 - build-ubuntu20 - test