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
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build-centos7:
|
build-centos7-default:
|
||||||
docker:
|
docker:
|
||||||
- image: ossrs/srs:dev
|
- image: ossrs/srs:dev
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: cd trunk && ./configure && make
|
||||||
cd trunk &&
|
build-centos7-noasm:
|
||||||
./configure --gb28181=off --utest=off --srtp-nasm=off && make &&
|
docker:
|
||||||
./configure --gb28181=on --utest=on --srtp-nasm=on && make clean && make
|
- 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:
|
build-ubuntu20:
|
||||||
docker:
|
docker:
|
||||||
- image: ossrs/srs:ubuntu20
|
- image: ossrs/srs:ubuntu20
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: cd trunk && ./configure && make
|
||||||
cd trunk &&
|
|
||||||
./configure --gb28181=off --utest=off --srtp-nasm=off && make &&
|
|
||||||
./configure --gb28181=on --utest=on --srtp-nasm=on && make clean && make
|
|
||||||
test:
|
test:
|
||||||
docker:
|
docker:
|
||||||
- image: ossrs/srs:dev
|
- image: ossrs/srs:dev
|
||||||
|
@ -25,12 +31,14 @@ jobs:
|
||||||
- checkout
|
- checkout
|
||||||
- run: |
|
- run: |
|
||||||
cd trunk &&
|
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
|
./objs/srs_utest && bash auto/coverage.sh
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_test:
|
build_and_test:
|
||||||
jobs:
|
jobs:
|
||||||
- build-centos7
|
- build-centos7-default
|
||||||
|
- build-centos7-noasm
|
||||||
|
- build-centos7-gb28181
|
||||||
- build-ubuntu20
|
- build-ubuntu20
|
||||||
- test
|
- test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue