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:
parent
5bae930621
commit
88641b535c
9 changed files with 29 additions and 29 deletions
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue