mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
use parallel builds for github actions
This commit is contained in:
parent
979a22c51d
commit
42c74c38a1
4
.github/workflows/build_cmake.yml
vendored
4
.github/workflows/build_cmake.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user