File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -148,21 +148,24 @@ 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 
155151       - name : Configure 
156-         run : emcmake cmake -S . -B build -DCMAKE_INSTALL_PREFIX=install -DCMAKE_VERBOSE_MAKEFILE=YES -DBUILD_TESTING=OFF -DGTest_DIR="build-gtest/dist/emscripten/lib/lib/cmake/GTest" 
152+         run : emcmake cmake \ 
153+           -S . -B build \ 
154+           -DCMAKE_BUILD_TYPE=Release \ 
155+           -DCMAKE_INSTALL_PREFIX=install \ 
156+           -DCMAKE_VERBOSE_MAKEFILE=YES \ 
157+           -DBUILD_TESTING=OFF \ 
158+           -DBUILD_SHARED_LIBS=OFF 
157159      - name : Build & Install 
158160        run : | 
159161          emmake cmake --build build --parallel 
160-           cd build && emmake make  install 
162+           emmake cmake --install build --prefix  install 
161163       - name : Package 
162164        run : | 
163165          mkdir package 
164166          cp -R install/* package/ 
165-           zip -r projectm-${{ needs.set_tag.outputs.tag }}-emscripten.zip package 
167+           cd package 
168+           zip -r ../projectm-${{ needs.set_tag.outputs.tag }}-emscripten.zip . 
166169       - name : Upload artifact 
167170        uses : actions/upload-artifact@v4 
168171        with :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments