File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -148,13 +148,18 @@ jobs:
148148        run : | 
149149          sudo apt-get update 
150150          sudo apt-get install -y libgl1-mesa-dev mesa-common-dev libsdl2-dev libglm-dev ninja-build cmake g++ zip 
151+        - name : Build GoogleTest 
152+         run : | 
153+           git clone https://github.com/projectM-visualizer/build-gtest.git build-gtest 
154+           cd build-gtest && ./setup.sh && ./build-emscripten.sh 
151155       - name : Configure 
152156        run : emcmake cmake \ 
153157          -S . -B build \ 
154158          -DCMAKE_BUILD_TYPE=Release \ 
155159          -DCMAKE_INSTALL_PREFIX=install \ 
156160          -DCMAKE_VERBOSE_MAKEFILE=YES \ 
157161          -DBUILD_TESTING=OFF \ 
162+           -DGTest_DIR="${{ github.workspace }}/build-gtest/dist/emscripten/lib/lib/cmake/GTest" \ 
158163          -DBUILD_SHARED_LIBS=OFF 
159164      - name : Build & Install 
160165        run : | 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments