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

UTest: Enable sanitizer for utest. (#3247)

1. Enable sanitizer for utest.
2. Allow auto detect jobs for make.
3. Show more information about build cache.
This commit is contained in:
Winlin 2022-11-18 22:02:24 +08:00 committed by winlin
parent 5bae930621
commit 88641b535c
9 changed files with 29 additions and 29 deletions

View file

@ -27,8 +27,8 @@ jobs:
run: |
echo "pwd: $(pwd), who: $(whoami)"
docker run --rm -v $(pwd):$(pwd) -w $(pwd)/trunk ossrs/srs:ubuntu20-cache \
bash -c "./configure --jobs=2 && chmod 777 -R objs"
cd trunk && ./configure --jobs=2 && make -j2
bash -c "./configure && chmod 777 -R objs"
cd trunk && ./configure && make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

View file

@ -134,7 +134,7 @@ jobs:
run: docker run --rm srs:test bash -c 'make utest && ./objs/srs_utest'
# For regression-test
- name: Run SRS regression-test
run: docker run --rm srs:test bash -c 'make && ./objs/srs -c conf/regression-test.conf && cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v'
run: docker run --rm srs:test bash -c 'make && (./objs/srs -c conf/regression-test.conf; ./etc/init.d/srs status) && cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v'
coverage:
name: coverage