Prechádzať zdrojové kódy

chore: enable parallel builds in cmake

Almamu 1 rok pred
rodič
commit
70a1f2da65
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      .github/workflows/cmake.yml

+ 3 - 3
.github/workflows/cmake.yml

@@ -56,7 +56,7 @@ jobs:
 
 
     - name: Build
     - name: Build
       # Build your program with the given configuration
       # Build your program with the given configuration
-      run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
+      run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --parallel
 
 
   build-x11-wayland:
   build-x11-wayland:
     permissions:
     permissions:
@@ -105,7 +105,7 @@ jobs:
 
 
       - name: Build
       - name: Build
         # Build your program with the given configuration
         # Build your program with the given configuration
-        run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
+        run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --parallel
 
 
       - name: Perform CodeQL Analysis
       - name: Perform CodeQL Analysis
         if: ${{ matrix.os == 'ubuntu-24.04' && matrix.build_type == 'Debug' }}
         if: ${{ matrix.os == 'ubuntu-24.04' && matrix.build_type == 'Debug' }}
@@ -146,4 +146,4 @@ jobs:
 
 
     - name: Build
     - name: Build
       # Build your program with the given configuration
       # Build your program with the given configuration
-      run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
+      run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --parallel