From f9986f5ac58fe49c00cf6a70eded1aff096b1497 Mon Sep 17 00:00:00 2001 From: duhow Date: Fri, 23 Aug 2024 12:00:20 +0200 Subject: [PATCH] build in parallel jobs --- .github/workflows/cmake.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 68da054e..98448e43 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -34,7 +34,7 @@ jobs: git clone https://github.com/fuzziqersoftware/phosg.git cd phosg cmake . - make + make -j $(nproc) sudo make install - name: Install resource_file @@ -43,14 +43,14 @@ jobs: git clone https://github.com/fuzziqersoftware/resource_dasm.git cd resource_dasm cmake . - make + make -j $(nproc) sudo make install - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j $(nproc) - name: Test working-directory: ${{github.workspace}}/build