mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
24 lines
541 B
YAML
24 lines
541 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: ossrs/srs:dev
|
|
steps:
|
|
- checkout
|
|
- run: |
|
|
cd trunk && ./configure --without-rtc --without-utest && make &&
|
|
./configure --with-rtc --with-utest && make clean && make
|
|
test:
|
|
docker:
|
|
- image: ossrs/srs:dev
|
|
steps:
|
|
- checkout
|
|
- run: |
|
|
cd trunk && ./configure --with-utest --gcov && make &&
|
|
./objs/srs_utest && bash auto/coverage.sh
|
|
workflows:
|
|
version: 2
|
|
build_and_test:
|
|
jobs:
|
|
- build
|
|
- test
|