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

Refine utest script.

This commit is contained in:
winlin 2022-03-18 12:01:11 +08:00
parent 350c05c589
commit fd219aa074

View file

@ -7,7 +7,6 @@ RUN yum install -y gcc make gcc-c++ patch unzip perl git
COPY . /srs COPY . /srs
WORKDIR /srs/trunk WORKDIR /srs/trunk
# Note that we never build the utest, but only build srs.
# Note that we must enable the gcc7 or link failed. # Note that we must enable the gcc7 or link failed.
RUN scl enable devtoolset-7 -- ./configure --srt=on --utest=on --gcov=on --jobs=2 RUN scl enable devtoolset-7 -- ./configure --srt=on --utest=on --gcov=on --jobs=2
RUN scl enable devtoolset-7 -- make -j2 RUN scl enable devtoolset-7 -- make -j2 utest