diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 898cd5f84..2308b35df 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -29,7 +29,7 @@ jobs: - name: Build just tests working-directory: ${{ github.workspace }}/dlib/test - run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest --parallel 8 + run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest --parallel 4 - name: Test working-directory: ${{ github.workspace }}/dlib/test/${{ env.build_dir }} @@ -45,4 +45,4 @@ jobs: - name: Build examples, etc if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' working-directory: ${{ github.workspace }}/dlib/test - run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --parallel 8 + run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --parallel 2