mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Squash: Merge 4.0.201
This commit is contained in:
parent
a862573220
commit
e16830e989
14 changed files with 518 additions and 1143 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
|||
# SRS_TAG=v4.0-r8
|
||||
# SRS_TAG=v4.0.145
|
||||
# SRS_VERSION=4.0.145
|
||||
# SRS_VERSION=4.0-r8
|
||||
# SRS_MAJOR=4
|
||||
# @see https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
|
||||
- name: Generate varaiables
|
||||
|
@ -63,7 +64,7 @@ jobs:
|
|||
run: docker build --tag srs:test -f trunk/Dockerfile.test .
|
||||
# For utest
|
||||
- name: Run SRS utest
|
||||
run: docker run --rm srs:test bash -c 'make && ./objs/srs_utest'
|
||||
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'
|
||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -93,7 +93,7 @@ jobs:
|
|||
run: docker build --tag srs:test -f trunk/Dockerfile.test .
|
||||
# For utest
|
||||
- name: Run SRS utest
|
||||
run: docker run --rm srs:test bash -c 'make && ./objs/srs_utest'
|
||||
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'
|
||||
|
@ -124,7 +124,7 @@ jobs:
|
|||
SRS_PR=$(echo ${{ github.ref }}| awk -F 'refs/pull/' '{print $2}'| awk -F '/' '{print $1}')
|
||||
echo "For ref=${{ github.ref }}, sha=${{ github.sha }}, SRS_BRANCH=$SRS_BRANCH, SRS_PR=$SRS_PR, SRS_SHA=$SRS_SHA, SRS_PROJECT=$SRS_PROJECT"
|
||||
docker run --rm --env SRS_BRANCH=$SRS_BRANCH --env SRS_PR=$SRS_PR --env SRS_SHA=$SRS_SHA --env SRS_PROJECT=$SRS_PROJECT \
|
||||
srs:cov bash -c 'make && ./objs/srs_utest && bash auto/codecov.sh'
|
||||
srs:cov bash -c 'make utest && ./objs/srs_utest && bash auto/codecov.sh'
|
||||
|
||||
done:
|
||||
name: actions-test-done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue