1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/.circleci/config.yml
2021-03-04 14:18:47 +08:00

56 lines
1.2 KiB
YAML

version: 2
jobs:
build-centos7-baseline:
docker:
- image: ossrs/srs:dev
steps:
- checkout
- 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-centos8-baseline:
docker:
- image: ossrs/srs:dev8
steps:
- checkout
- run: |
cd trunk && ./configure && make
build-ubuntu20-baseline:
docker:
- image: ossrs/srs:dev8
steps:
- checkout
- run: |
cd trunk && ./configure && make
test:
docker:
- image: ossrs/srs:dev
steps:
- checkout
- run: |
cd trunk &&
./configure --gb28181=on --utest=on --gcov=on && make &&
./objs/srs_utest && bash auto/coverage.sh
workflows:
version: 2
build_and_test:
jobs:
- build-centos7-baseline
- test
- build-centos7-noasm
- build-centos7-gb28181
- build-centos8-baseline
- build-ubuntu20-baseline