mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	CI: Research support codecov
This commit is contained in:
		
							parent
							
								
									19f1bf4e27
								
							
						
					
					
						commit
						c646e3f287
					
				
					 8 changed files with 34 additions and 26 deletions
				
			
		
							
								
								
									
										9
									
								
								trunk/configure
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								trunk/configure
									
										
									
									
										vendored
									
									
								
							|  | @ -106,7 +106,10 @@ if [ $SRS_GPERF = YES ]; then | |||
| fi | ||||
| # For coverage. | ||||
| if [[ $SRS_GCOV == YES ]]; then | ||||
|     CXXFLAGS="${CXXFLAGS} -fprofile-arcs -ftest-coverage"; | ||||
|     SrsGcov="-fprofile-arcs -ftest-coverage" | ||||
| fi | ||||
| if [[ $SRS_GCOV == YES ]]; then | ||||
|     CXXFLAGS="${CXXFLAGS} ${SrsGcov}"; | ||||
| fi | ||||
| # Start to generate the Makefile. | ||||
| cat << END > ${SRS_OBJS}/${SRS_MAKEFILE} | ||||
|  | @ -159,7 +162,7 @@ if [ $SRS_MIPS_UBUNTU12 = YES ]; then | |||
| fi | ||||
| # For coverage. | ||||
| if [[ $SRS_GCOV == YES ]]; then | ||||
|     SrsLinkOptions="${SrsLinkOptions} -fprofile-arcs -ftest-coverage"; | ||||
|     SrsLinkOptions="${SrsLinkOptions} ${SrsGcov}"; | ||||
| fi | ||||
| 
 | ||||
| ##################################################################################### | ||||
|  | @ -507,7 +510,7 @@ librtmp: server | |||
| 	@echo "Building the client publish/play library." | ||||
| 	\$(MAKE) -f ${SRS_OBJS_DIR}/${SRS_MAKEFILE} librtmp | ||||
| 	@echo "Building the srs-librtmp example." | ||||
| 	(cd research/librtmp; \$(MAKE) ${SrsLibrtmpSampleEntry}) | ||||
|     (cd research/librtmp; \$(MAKE) EXTRA_CXXFLAGS="${SrsGcov}" ${SrsLibrtmpSampleEntry}) | ||||
| 
 | ||||
| END | ||||
| else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue