mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
26 lines
617 B
YAML
26 lines
617 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
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
|
|
test:
|
|
docker:
|
|
- image: ossrs/srs:dev
|
|
steps:
|
|
- checkout
|
|
- run: |
|
|
cd trunk &&
|
|
./configure --gb28181=on --srtp-nasm=on --utest=on --gcov=on && make &&
|
|
./objs/srs_utest && bash auto/coverage.sh
|
|
workflows:
|
|
version: 2
|
|
build_and_test:
|
|
jobs:
|
|
- build
|
|
- test
|