mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support utest and regression-test when release. v4.0.156
This commit is contained in:
parent
640436d8a6
commit
2fdb06299c
4 changed files with 43 additions and 14 deletions
13
trunk/Dockerfile.test
Normal file
13
trunk/Dockerfile.test
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM ossrs/srs:dev
|
||||
|
||||
# Install depends tools.
|
||||
RUN yum install -y gcc make gcc-c++ patch unzip perl git
|
||||
|
||||
# Build and install SRS.
|
||||
COPY . /trunk
|
||||
WORKDIR /trunk
|
||||
RUN ./configure --srt=on --utest=on --jobs=2 && make -j2
|
||||
RUN cd 3rdparty/srs-bench && make
|
||||
|
||||
# Run utest
|
||||
RUN ./objs/srs_utest
|
Loading…
Add table
Add a link
Reference in a new issue