mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #2219, Refine CI for ubuntu20
This commit is contained in:
parent
57f16299f4
commit
6b2eb43e5c
1 changed files with 19 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue