1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

CI: Add centos8 and ubuntu20 to CI

This commit is contained in:
winlin 2021-03-04 08:45:01 +08:00
parent 4ba485002c
commit 868899165f

View file

@ -1,14 +1,40 @@
version: 2 version: 2
jobs: jobs:
build-centos7: build-centos7-baseline:
docker: docker:
- image: ossrs/srs:dev - image: ossrs/srs:dev
steps: steps:
- checkout - checkout
- run: | - run: |
cd trunk && ./configure && make && cd trunk && ./configure && make
./configure --nasm=off --srtp-nasm=off && make clean && make && build-centos7-noasm:
./configure --gb28181=on && make clean && make 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: test:
docker: docker:
- image: ossrs/srs:dev - image: ossrs/srs:dev
@ -22,5 +48,9 @@ workflows:
version: 2 version: 2
build_and_test: build_and_test:
jobs: jobs:
- build-centos7 - build-centos7-baseline
- test - test
- build-centos7-noasm
- build-centos7-gb28181
- build-centos8-baseline
- build-ubuntu20-baseline