File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CMake Build CI 
2+ 
3+ on :
4+   push :
5+     branches : [ main ] 
6+   pull_request :
7+     branches : [ main ] 
8+   schedule :
9+     - cron : ' 20 4 * * 1' 
10+ 
11+ jobs :
12+   build :
13+     strategy :
14+       fail-fast : false 
15+       matrix :
16+         os : [ubuntu-latest, macos-latest, windows-latest] 
17+         lib_type : [static, shared] 
18+         include :
19+           - lib_type : static 
20+             cmake-lib_type : " -DBUILD_SHARED_LIBS=Off" 
21+           - lib_type : shared 
22+             cmake-lib_type : " -DBUILD_SHARED_LIBS=On" 
23+ 
24+     runs-on : ${{ matrix.os }} 
25+ 
26+     env :
27+       CTEST_OUTPUT_ON_FAILURE : 1 
28+ 
29+     steps :
30+     - uses : actions/checkout@v2 
31+ 
32+     - name : Create Build Environment 
33+       run : cmake -E make_directory ${{github.workspace}}/build 
34+ 
35+     - name : Configure CMake 
36+       working-directory : ${{github.workspace}}/build 
37+       shell : bash 
38+       run : cmake $GITHUB_WORKSPACE -DLIBSRTP_TEST_APPS=OFF -DCMAKE_BUILD_TYPE="Release" ${{env.cmake-lib-type}} 
39+ 
40+     - name : Build 
41+       working-directory : ${{github.workspace}}/build 
42+       shell : bash 
43+       run : cmake --build . 
44+ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments