1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

Add CI for CentOS7, C++98(ANSI) and no FFmpeg-fit

This commit is contained in:
winlin 2021-03-04 13:29:32 +08:00
parent 876210f6c9
commit a29d0a6a24

View file

@ -1,6 +1,6 @@
version: 2 version: 2
jobs: jobs:
build-centos7-baseline: build-c7-baseline:
docker: docker:
- image: ossrs/srs:dev - image: ossrs/srs:dev
steps: steps:
@ -8,7 +8,7 @@ jobs:
- run: | - run: |
echo "Build and run SRS baseline" && echo "Build and run SRS baseline" &&
cd trunk && ./configure && make cd trunk && ./configure && make
build-centos7-noasm: build-c7-noasm:
docker: docker:
- image: ossrs/srs:dev - image: ossrs/srs:dev
steps: steps:
@ -16,7 +16,7 @@ jobs:
- run: | - run: |
echo "Build and run SRS without NASM or SRTP-NASM" && echo "Build and run SRS without NASM or SRTP-NASM" &&
cd trunk && ./configure --nasm=off --srtp-nasm=off && make cd trunk && ./configure --nasm=off --srtp-nasm=off && make
build-centos7-gb28181: build-c7-gb28181:
docker: docker:
- image: ossrs/srs:dev - image: ossrs/srs:dev
steps: steps:
@ -24,7 +24,7 @@ jobs:
- run: | - run: |
echo "Build and run SRS with GB28181" && echo "Build and run SRS with GB28181" &&
cd trunk && ./configure --gb28181=on && make cd trunk && ./configure --gb28181=on && make
build-centos8-baseline: build-c8-baseline:
docker: docker:
- image: ossrs/srs:dev8 - image: ossrs/srs:dev8
steps: steps:
@ -32,7 +32,7 @@ jobs:
- run: | - run: |
echo "Build and run SRS for CentOS8" && echo "Build and run SRS for CentOS8" &&
cd trunk && ./configure && make cd trunk && ./configure && make
build-ubuntu20-baseline: build-u20-baseline:
docker: docker:
- image: ossrs/srs:dev8 - image: ossrs/srs:dev8
steps: steps:
@ -59,14 +59,23 @@ jobs:
cd trunk && ./configure && make && ./objs/srs -c conf/regression-test.conf && cd trunk && ./configure && make && ./objs/srs -c conf/regression-test.conf &&
echo "Run srs-bench regression test" && echo "Run srs-bench regression test" &&
cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v
build-c7-ansi-noff:
docker:
- image: ossrs/srs:dev
steps:
- checkout
- run: |
echo "Build and run SRS C++98(ANSI), no FFmpeg-fit" &&
cd trunk && ./configure --cxx11=off --cxx14=off --ffmpeg-fit=off && make
workflows: workflows:
version: 2 version: 2
build_and_test: build_and_test:
jobs: jobs:
- build-centos7-baseline - build-c7-baseline
- run-utest - run-utest
- run-regression-test - run-regression-test
- build-centos7-noasm - build-c7-noasm
- build-centos7-gb28181 - build-c7-gb28181
- build-centos8-baseline - build-c8-baseline
- build-ubuntu20-baseline - build-u20-baseline
- build-c7-ansi-noff