From 42c74c38a1330466f6e9b092857fd12e3c48f819 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 6 Feb 2022 19:48:18 -0500 Subject: [PATCH] use parallel builds for github actions --- .github/workflows/build_cmake.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index efbafc96a..898cd5f84 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 + run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest --parallel 8 - 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 }} + run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --parallel 8