use parallel builds for github actions

This commit is contained in:
Davis King 2022-02-06 19:48:18 -05:00
parent 979a22c51d
commit 42c74c38a1
1 changed files with 2 additions and 2 deletions

View File

@ -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