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

View File

@ -29,7 +29,7 @@ jobs:
- name: Build just tests - name: Build just tests
working-directory: ${{ github.workspace }}/dlib/test 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 - name: Test
working-directory: ${{ github.workspace }}/dlib/test/${{ env.build_dir }} working-directory: ${{ github.workspace }}/dlib/test/${{ env.build_dir }}
@ -45,4 +45,4 @@ jobs:
- name: Build examples, etc - name: Build examples, etc
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
working-directory: ${{ github.workspace }}/dlib/test 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