mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #2219, Ubuntu build fail. Add CI for ubuntu20
This commit is contained in:
parent
969b947849
commit
57f16299f4
3 changed files with 14 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
build-centos7:
|
||||
docker:
|
||||
- image: ossrs/srs:dev
|
||||
steps:
|
||||
|
@ -9,6 +9,15 @@ jobs:
|
|||
cd trunk &&
|
||||
./configure --gb28181=off --utest=off --srtp-nasm=off && make &&
|
||||
./configure --gb28181=on --utest=on --srtp-nasm=on && make clean && 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
|
||||
test:
|
||||
docker:
|
||||
- image: ossrs/srs:dev
|
||||
|
@ -22,5 +31,6 @@ workflows:
|
|||
version: 2
|
||||
build_and_test:
|
||||
jobs:
|
||||
- build
|
||||
- build-centos7
|
||||
- build-ubuntu20
|
||||
- test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue