ソースを参照

chore: enable parallel builds in cmake

Almamu 1 年間 前
親
コミット
70a1f2da65
1 ファイル変更、3 行追加、3 行削除
  1. 3 3
      .github/workflows/cmake.yml

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

@@ -56,7 +56,7 @@ jobs:
 
     - name: Build
       # 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:
     permissions:
@@ -105,7 +105,7 @@ jobs:
 
       - name: Build
         # 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
         if: ${{ matrix.os == 'ubuntu-24.04' && matrix.build_type == 'Debug' }}
@@ -146,4 +146,4 @@ jobs:
 
     - name: Build
       # 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